Skip to content

MarshallOfSound/pruner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pruner

Installation

npm i --save-dev pruner

API

Class: Walker

import { Walker } from 'pruner';

// modulePath is the root folder of your module
const walker = new Walker(modulePath);

walker.prune()

Prunes all dependencies that aren't required for production or optional dependencies.

About

Prune production dependencies in a package manager agnostic way

Resources

Stars

Watchers

Forks

Packages

No packages published