0.0.7 • Published 7 years ago

pruner v0.0.7

Weekly downloads
2,820
License
MIT
Repository
-
Last release
7 years ago

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.