1.0.2 β’ Published 7 years ago
icloud-nosync-node v1.0.2
πiCloud (from π's everywhere)
iCloud NoSync node
This package gives you access to nosync-node or nsn command which does some work to stop iCloud from syncing node_modules and forever eating your processing power, bandwidth, and battery.
To use:
npm install -g icloud-nosync-nodenosync-nodeornsn-nflag will prevent it from creating/modifying.gitignorefile
The script does a few things to work:
- Step 1: if no
node_modulesis detected it willnpm installfor you - Step 2: Rename
node_modulestonode_modules.nosync - Step 3: Add symlink
node_modules->node_modules.nosyncso stuff still works - Step 4: Add entry to
.gitignoreto ignore the newly creatednode_modulessymlink andnode_modules.nosync - Step 5: π°π°π°?