🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

npm-list-linked

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
n

npm-list-linked

List linked npm packages in a project; also recursively for chains of dependencies.

0.1.0
latest
68

Supply Chain Security

100

Vulnerability

72

Quality

76

Maintenance

100

License

Version published
Weekly downloads
12
140%
Maintainers
1
Weekly downloads
 
Created
Issues
5

npm-list-linked

List linked npm packages in a project; also recursively for chains of dependencies.

$ npm-list-linked
Linked packages in /home/user/projects/some-project/
    @prefix/package 0.2.7
        other-package 0.1.2

Use globally

npm i -g npm-list-linked
npm-list-linked [path to project root, default cwd]

Use in a project

npm i --save-dev npm-list-linked

package.json:

"scripts": {
    "linked": "npm-list-linked"
}

Run script:

npm run linked

Using as a module

const {getLinked} = require('npm-list-linked');
console.log(getLinked());

Keywords

FAQs

Package last updated on 29 May 2019

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