| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/laragon/bin/nodejs/node-v18/node_modules/npm/docs/content/commands/ |
Upload File : |
--- title: npm-star section: 1 description: Mark your favorite packages --- ### Synopsis <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> <!-- automatically generated, do not edit manually --> <!-- see lib/commands/star.js --> ```bash npm star [<package-spec>...] ``` <!-- automatically generated, do not edit manually --> <!-- see lib/commands/star.js --> <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> Note: This command is unaware of workspaces. ### Description "Starring" a package means that you have some interest in it. It's a vaguely positive way to show that you care. It's a boolean thing. Starring repeatedly has no additional effect. ### More There's also these extra commands to help you manage your favorite packages: #### Unstar You can also "unstar" a package using [`npm unstar`](/commands/npm-unstar) "Unstarring" is the same thing, but in reverse. #### Listing stars You can see all your starred packages using [`npm stars`](/commands/npm-stars) ### Configuration <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> #### `registry` * Default: "https://registry.npmjs.org/" * Type: URL The base URL of the npm registry. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> #### `unicode` * Default: false on windows, true on mac/unix systems with a unicode locale, as defined by the `LC_ALL`, `LC_CTYPE`, or `LANG` environment variables. * Type: Boolean When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> #### `otp` * Default: null * Type: null or String This is a one-time password from a two-factor authenticator. It's needed when publishing or changing package permissions with `npm access`. If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> ### See Also * [package spec](/using-npm/package-spec) * [npm unstar](/commands/npm-unstar) * [npm stars](/commands/npm-stars) * [npm view](/commands/npm-view) * [npm whoami](/commands/npm-whoami) * [npm adduser](/commands/npm-adduser)