
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Opinionated
npm ls- list globally or locally installed node modules.
npm i npmls --save
For more use-cases see the tests
List installed node modules, globally or locally.
[globally] {Boolean} list global modules, default false[callback] {Function} node-style callbackreturns {Array} list of modules if nod callback givenExample
var npmls = require('npmls')
console.log(npmls(true))
//=> [ 'add-package-owners',
// 'apidocs-cli',
// 'bower',
// 'browserify',
// ...
// ]
// or asynchronously
npmls(true, function (err, modules) {
if (err) return console.error(err)
console.log(modules)
//=> [ 'add-package-owners',
// 'apidocs-cli',
// 'bower',
// 'browserify',
// ...
// ]
})
Just run
npm install -g npmlsto install it globally and try it.
$ npmls -h
Usage: npmls [options]
Example
$ npmls --global
add-package-owners
apidocs-cli
bower
browserify
...
mocha
npm
npm-related
opn-cli
...
Options
-v, --version Shows module version
-g, --global Lists globally installed modules
-h, --help Shows this help
Readme: https://github.com/tunnckoCore/npmls
user/repo#branchname or user/repo exists in npm registry… morePull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.
FAQs
Opinionated `npm ls` - list globally or locally installed node modules.
The npm package npmls receives a total of 171 weekly downloads. As such, npmls popularity was classified as not popular.
We found that npmls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.