2017-12-01 07:14:52 -08:00
2017-11-18 18:10:33 -08:00
2017-11-21 10:58:43 -08:00
2017-11-25 10:16:14 -08:00
2017-11-22 11:51:39 -08:00
2017-12-01 07:14:52 -08:00
2017-11-27 15:12:43 +08:00

What?

node-prune is a small tool to prune unnecessary files from ./node_modules, such as markdown, typescript source files, and so on. Primarily built for Up which lets you deploy serverless web applications in seconds.

Installation

$ go get github.com/tj/node-prune/cmd/node-prune

Usage

In your app directory:

$ node-prune

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Somewhere else:

$ node-prune path/to/node_modules

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Or add to the package.json scripts field

  "scripts": {
    "postinstall": "node-prune"
  }

Why?

huge


GoDoc

S
Description
No description provided
Readme MIT
91 KiB
Languages
Go 100%