Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 478 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 478 Bytes

npm-module-search

var npmSearch = require('npm-module-search')
npmSearch.search('express', function (err, modules) {
  console.log('Here are 20 modules', modules)
  // modules is an array of objects like:
  // {
  //   name: 'modulename',
  //   version: '1.0.0'
  //   author: 'some author'
  //   description: 'the description'
  // }
})


npmSearch.search('express', {limit: 50} function (err, modules) {
  console.log('Here are 50 modules', modules)
})