
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
node-nosync
Advanced tools
防止 node_modules 同步到 iCloud 中。
iCloud 不会同步以 .nosync 结尾的文件以及文件夹。
将 node_modules 重命名为 node_modules.nosync,然后创建一个软链 node_modules 指向 node_modules.nosync 即可实现。
安装
npm i -g node-nosync
# or
yarn global add node-nosync
然后在 node_modules 同级目录下执行 nosync,即可。
本工具启发自 nosync-icloud,但是将其极简化,一个工具只做一件事。
将其放到你的 package.json 中 postinstall 脚本内,像下面这样
{
"script": {
"postinstall": "nosync"
}
}
FAQs
Prevent 'node_modules' from sync to iCloud
The npm package node-nosync receives a total of 1 weekly downloads. As such, node-nosync popularity was classified as not popular.
We found that node-nosync demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.