JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1176
  • Score
    100M100P100Q100514F
  • License MIT

Prunes development dependencies from your package

Package Exports

  • pruner

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pruner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.