Various files / command line string used for maintaining node / npm's messes.
- flatten-packages : this will run from 3-15 minutes, depending on the number of modules
npm install -g flatten-packages | |
cd ~/.atom/packages | |
find . -type d -exec flatten-packages {} \; |
@echo off | |
npm install -g flatten-packages | |
REM see http://commandwindows.com/batchfiles-iterating.htm | |
REM for /d %X in (*) do flatten-packages %X | |
REM for /d /f %X in (*) do flatten-packages %X | |
REM ---------- | |
REM recursive: | |
cd %userhome%/.atom/packages | |
for /R /D %X in (*) do flatten-packages %X |