Tired of wasting gigabytes of Time Machine storage to node_modules folders?
Time Machine supports setting a sticky extended attribute on folders to exclude them from backups.
It works great, and I believe NPM should support it.
I opened an NPM RFC and would love your comments on it: https://github.com/npm/rfcs/pull/857/changes
In the mean time, you can easily set the bit w/ a command like:
xattr -w com.apple.metadata:com_apple_backup_excludeItem com.apple.backupd /path/to/node_modules/
Let’s do this!



