npm: possibly marvellous
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

pruner

0.0.7 • Public • Published

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.

install

npm i pruner

Downloadsweekly downloads

6,207

version

0.0.7

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability