flatten-deps

0.2.2 • Public • Published

Flatten Dependencies

Moves node dependencies up the tree to prevent long paths.
On Windows the path limit is 260 chars, which can be a big problem for larger projects.

Installation

npm install -g flatten-deps

Disclaimer

Be certain that none of your installed dependencies rely directly on the file system structure. This script can break these. Often that means checking bin commands.

Usage

cd PROJECT_ROOT
flatten-deps

TODO

  • Tests

/flatten-deps/

    Package Sidebar

    Install

    npm i flatten-deps

    Weekly Downloads

    12

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • lezuse