node-modules-dependencies-extractor
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "node-modules-dependencies-extractor", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Extracts dependencies from the node_modules folder, to a reference format. This reference format is a JSON file containing arrays of objects with keys name and version.", | ||
@@ -11,6 +11,9 @@ "main": "index.js", | ||
"coverage": "jest --coverage src", | ||
"extract": "./src/cli-extract.js" | ||
"extract-nm-dependencies": "./src/cli-extract.js" | ||
}, | ||
"author": "Sanda Contiu", | ||
"license": "ISC", | ||
"bin": { | ||
"extract-nm-dependencies": "./src/cli-extract.js" | ||
}, | ||
"devDependencies": { | ||
@@ -17,0 +20,0 @@ "babel-eslint": "^10.0.1", |
@@ -11,3 +11,3 @@ # node-modules-dependencies-extractor | ||
# Status | ||
0.0.1, see [CHANGELOG.md](./CHANGELOG.md) | ||
0.1.1, see [CHANGELOG.md](./CHANGELOG.md) | ||
@@ -25,5 +25,15 @@ # Limitation | ||
## Installation | ||
Install globally: | ||
```shell | ||
npm install -g node-modules-dependencies-extractor | ||
``` | ||
Or you could use it without installing by running: | ||
```shell | ||
npx node-modules-dependencies-extractor [options] | ||
``` | ||
# Usage | ||
``` | ||
yarn extract [options] | ||
extract-nm-dependencies [options] | ||
``` | ||
@@ -42,6 +52,5 @@ | ||
### Sample usage | ||
``` | ||
yarn extract -i ./test-data/node_modules_samples/siblings_no_nesting | ||
yarn extract-nm-dependencies -i ./test-data/node_modules_samples/siblings_no_nesting | ||
``` | ||
@@ -93,2 +102,2 @@ ## Technology stack | ||
- npm | ||
- yarn | ||
- yarn |
30791
100