List of packages that use standard
constpackages=require('standard-packages')packages.forEach(pkg=>{console.log('package name',pkg.name)console.log('repo url',pkg.repo)})To update the data in all.json, first install CouchDB:
npm run install-depsAdd an admin password to the CouchDB config file:
vim /usr/local/etc/local.ini # add admin password to config fileFor example, this sets the admin password to "admin":
[admins]admin = adminThen, 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 replicateFinally, update the package stats with:
npm run updatenpm run replicate will replicate a 10 GB+ database
On macOS, you can run npm run install-deps to install CouchDB.
MIT. Copyright (c) Feross Aboukhadijeh.