New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

npm-module-search

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-module-search

A module to search for npm modules

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source
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: "npm-module-search",
  //   scope: "unscoped",
  //   version: "2.0.0",
  //   description: "A module to search for npm modules",
  //   keywords: [
  //    "This property may be inexisting if no keywords are set for this package"
  //   ]
  //   date: "2017-07-05T01:05:45.455Z",
  //   links: {
  //       npm: "https://www.npmjs.com/package/npm-module-search",
  //       homepage: "https://github.com/marcbachmann/npm-module-search#readme",
  //       repository: "https://github.com/marcbachmann/npm-module-search",
  //	   bugs: "https://github.com/marcbachmann/npm-module-search/issues"
  //   },
  //   author: {
  //	    name: "Marc Bachmann",
  //	    email: "This may be inexisting if the author email is not in the package.json file",
  //        username: "This may be inexisting as well"
  //   },
  //   publisher: {
  //	    username": "marcbachmann",
  //	    email: "marc.brookman@gmail.com"
  //   },
  //   maintainers: [
  //	    {
  //	        username: "marcbachmann",
  //		email: "marc.brookman@gmail.com"
  //	    }
  //	]
  // }
})


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

FAQs

Package last updated on 22 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts