Linux command
npm-star 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Star a package
npm star [package]
Star multiple packages
npm star [package1] [package2]
View your starred packages
npm stars
Unstar a package
npm unstar [package]
说明
npm star marks one or more packages as favorites on the npm registry. It is a way to show appreciation for packages you find useful. Requires npm authentication via npm login. Starred packages can be listed later with npm stars. To remove a star, use npm unstar.
参数
- --registry _url_
- Use the specified registry URL instead of the default.
- --otp _code_
- Provide a one-time password for two-factor authentication.
FAQ
What is the npm-star command used for?
npm star marks one or more packages as favorites on the npm registry. It is a way to show appreciation for packages you find useful. Requires npm authentication via npm login. Starred packages can be listed later with npm stars. To remove a star, use npm unstar.
How do I run a basic npm-star example?
Run `npm star [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --registry _url_ do in npm-star?
Use the specified registry URL instead of the default.