Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kribblo/npm-list-linked
List linked npm packages in a project; also recursively for chains of dependencies.
https://github.com/kribblo/npm-list-linked
cli javascript node npm npm-link
Last synced: 11 days ago
JSON representation
List linked npm packages in a project; also recursively for chains of dependencies.
- Host: GitHub
- URL: https://github.com/kribblo/npm-list-linked
- Owner: kribblo
- Created: 2017-06-05T21:54:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T14:52:43.000Z (over 2 years ago)
- Last Synced: 2024-10-11T00:33:40.925Z (27 days ago)
- Topics: cli, javascript, node, npm, npm-link
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/npm-list-linked
- Size: 56.6 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 globallynpm 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());