2.0.1 • Published 6 years ago

sourceranks-data v2.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

sourceranks-data

a LevelDB database of detailed libraries.io SourceRank data for every package in the npm registry

Installation

npm install sourceranks-data --save

Usage

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
  })

License

MIT

2.0.1

6 years ago

2.0.0

6 years ago