Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
cnpm: npm client for npmmirror.com
Minimum | Recommended | |
---|---|---|
Node.js | 14.18.0 | LTS |
npm install cnpm -g
If you're in China, maybe you should install it from our China mirror:
npm install cnpm -g --registry=https://registry.npmmirror.com
Support all commands just like npm
.
npm
cnpm sync [moduleName]
cnpm doc [name]
cnpm doc -g [name] # open git web url directly
npm install cnpm -g
# then alias it
alias mynpm='cnpm --registry=https://registry.npm.example.com \
--registryweb=https://npm.example.com \
--userconfig=$HOME/.mynpmrc'
cnpm using npminstall by default.
If you don't like symlink mode for node_modules
, you can change the installer to original npm.
But you will lose the fastest install speed.
cnpm i --by=npm react-native
fengmk2 | dead-horse | semantic-release-bot | alsotang | 0xflotus | weakish |
---|---|---|---|---|---|
gemwuu | ibigbug | qiu8310 | elrrrrrrr | fossabot | popomore |
xieren58 | xiaohuoni |
This project follows the git-contributor spec, auto updated at Wed Dec 06 2023 21:42:25 GMT+0800
.
FAQs
cnpm: npm client for cnpmjs.org
The npm package cnpm receives a total of 1,996 weekly downloads. As such, cnpm popularity was classified as popular.
We found that cnpm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.