Skip to content
windows node_modules flattener, beta
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
flatter.js
package.json
readme.md

readme.md

flatter.js

usage

run node flatter.js in a node module directory

generates commands to flatten a nested directory structure using symlinks flattened directories become named node_modules/f~{{id}} this does not run the commands, it merely prints them

side effects

  • most side effects are solved by the use of symlinks, however realpaths that depend on nested node_modules will be broken.

also, don't do that anyway

Something went wrong with that request. Please try again.