a LevelDB database of detailed libraries.io SourceRank data for every package in the npm registry
npm install sourceranks-data --save
const sourceranks = require('sourceranks-data')
sourceranks.db.createReadStream()
.on('data', ({key, value}) => {
value = JSON.parse(value)
// do something with the data!
})
.on('end', () => {
// reached the end of the stream
})
MIT