Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

node_modules-list

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node_modules-list

Provides an array of all installed packages from a node installation.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

node_modules-list

Provides an array of all installed packages from a node installation.

Mostly for my own need, since npm ls strips custom values from the packages, I can't use that since I'm using custom values on the packages and need it preserved.

Usage

var nmls = require('node_modules-list');

nmls(function(err, node_modules) {
	console.log(node_modules.length);
})

FAQs

Package last updated on 29 May 2016

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