Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

npm1k/npm1k.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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