Skip to content

standard/standard-packages

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

standard-packages travis npm downloads javascript style guide

List of packages that use standard

View the list (all.json)

Usage

const packages = require('standard-packages')
packages.forEach(pkg => {
  console.log('package name', pkg.name)
  console.log('repo url', pkg.repo)
})

Contribute

To update the data in all.json, first install CouchDB:

npm run install-deps

Add an admin password to the CouchDB config file:

vim /usr/local/etc/local.ini # add admin password to config file

For example, this sets the admin password to "admin":

[admins]
  admin = admin

Then, start CouchDB, create an npm_registry database, and start the replication process:

couchdb
curl -X PUT http://admin:admin@127.0.0.1:5984/npm_registry # create database
npm run replicate

Finally, update the package stats with:

npm run update

⚠️ npm run replicate will replicate a 10 GB+ database

Install dependencies

On macOS, you can run npm run install-deps to install CouchDB.

License

MIT. Copyright (c) Feross Aboukhadijeh.