Prune unneeded files (.md, .td, etc..) from node_modules folder. Super handy for Electron and AWS Lambda.
npm install nm-prune> Prune unneeded files (.md, .td, etc..) from node_modules folder. Super handy
> for Electron and AWS Lambda.
```
$ npm install --global nm-prune

To see the files/folders that nm-prune will delete then have a look at
default-prune.json.
To provide your own prune list then simply create a prune.json in yourpackage.json
package's root directory (alongside ) and nm-prune will use that
instead.
If you want nm-prune to run without asking for confirmation then you can runnm-prune --force.
By default nm-prune v4+ does not discard license files because that wouldnm-prune --prune-license`.
violate the terms of most licenses. If you wish to prune them anyway then you
can run the command
MIT © DaveJ