JSPM

@buxlabs/amd-deps

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

Find unused dependencies in AMD modules

Package Exports

  • @buxlabs/amd-deps

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 (@buxlabs/amd-deps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Find unused AMD dependencies, v0.7.12

Installation

npm install -g @buxlabs/amd-deps

Usage

Check single file:

amd-deps app.js

Check a dir:

amd-deps --src=src

Check a dir recursively:

amd-deps --recursive --src=src

Options

  Usage: amd-deps [options]

  Options:

    -s, --src <dirname>     Directory of the source files
    -r, --recursive         Search in directory recursively
    --exclude <filenames>   Exclude dependencies from the results