Monthly Archives: March 2017

I don’t mind coming to work ..

I don’t mind coming to work, But this eight hour wait to go home is just bullshit. Advertisements

Posted in Uncategorized | Leave a comment

Get list of all npm packages

This downloads a 25MB JSON file wget -O npmall1.json https://registry.npmjs.org/-/all //prettify.js var npmObject = require(‘./npmall.json’) var keys = Object.keys(npmObject) var fs = require(‘fs’) var file = fs.createWriteStream(‘./npmall_pretty.json’); var count =0; keys.forEach( (k) => { if ( count++ % 1000 === … Continue reading

Posted in Uncategorized | Leave a comment