Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 290 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 290 Bytes
var npm1k = require('npm1k')
var assert = require('assert')

npm1k(function(error, packages) {

  assert.equal(packages.length, 1000)

  assert(packages.every(function(element) {
    return ( typeof element === 'string' ) }))

  assert(packages.indexOf('semver') > -1) })