collect-npm-readmes
Copy a project’s first-level npm
package readme files to a separate directory for easy access.
⚠️ This project has been archived
No future updates are planned. Feel free to continue using it, but expect no support.
- Looks in
./node_modules
by default. - Collects all
README*
files. - Copies the READMEs to
./node_module_docs
(automatically created) by default. - Project page
- Source code on github
Installation
ln -s "${PWD}/src/collect-npm-readmes" "${HOME}/bin/"
Get started
# Basic usage -- see ./node_module_docs for output.
collect-npm-readmes
# Specify output directory (will be created)
collect-npm-readmes "../../package-docs"
# Specify output directory path (will be created) and node_modules directory path.
collect-npm-readmes "../../package-docs" "../../../my-other-node-project"
Kudos
Copyright © 2018 Joel Purra. Released under GNU General Public License version 3.0 (GPL-3.0).