node-prune

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 8 Imported by: 0

README

node-prune is a small tool to prune unnecessary files from ./node_modules, such as markdown, source files, and so on.

Installation

From source:

$ go get github.com/BrightcovePS/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"
  }

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
prune
Package prune provides node_modules pruning of unnecessary files.
Package prune provides node_modules pruning of unnecessary files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL