Skip to content

Latest commit

 

History

History

sourceranks-data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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