npm:publish can authenticate with the registry. The token is written as block-style YAML to ~/.talos/credentials/npm.yml under the default profile.
Create a Granular Access Token at npmjs.com.
Usage
Examples
Run with no flags to be prompted for the token (input is hidden):Options
| Option | Description | Default |
|---|---|---|
--token | npm Granular Access Token to store. | Prompted if omitted |
--silent | Suppress the instructional message and the saved-to confirmation. | false |