Skip to content

Commit 41faf35

Browse files
committed
Update README.md
1 parent e7aeaec commit 41faf35

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# clean-node_modules
1+
# Clean node_modules
2+
3+
This script will delete all *node_modules* directories that are inside the children of the parent directory from where the script is run.
4+
5+
Directory structure example:
6+
7+
- project 1
8+
- *node_modules*
9+
- index.js
10+
- project 2
11+
- *node_modules*
12+
- index.js
13+
- project 3
14+
- *node_modules*
15+
- index.js
16+
- clean-node-modules
17+
- **clean-node_modules.js**
18+
19+
Running `node clean-node_modules.js` will delete all of the *node_modules* folders.

0 commit comments

Comments
 (0)