icloud-nosync-node

1.0.2 • Public • Published

🖕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-node
  • nosync-node or nsn
  • -n flag will prevent it from creating/modifying .gitignore file

The script does a few things to work:

  • Step 1: if no node_modules is detected it will npm install for you
  • Step 2: Rename node_modules to node_modules.nosync
  • Step 3: Add symlink node_modules -> node_modules.nosync so stuff still works
  • Step 4: Add entry to .gitignore to ignore the newly created node_modules symlink and node_modules.nosync
  • Step 5: 💰💰💰?

Special thx to Apple for not creating an ignore setting 🙄

To prevent iCloud from syncing any folder in Finder

https://github.com/tsdexter/iCloud-NoSync

Readme

Keywords

Package Sidebar

Install

npm i icloud-nosync-node

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.79 kB

Total Files

5

Last publish

Collaborators

  • tsdexter