Config Files · 1 file
Sample .npmrc File
.npmrc configures npm registries, auth tokens and install behavior. Our sample is realistic and valid for its tool, with fake hosts and secrets.
.npmrc · 229 B
.npmrc
An .npmrc with a scoped private registry, an auth token read from the environment, exact saves and engine-strict. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample .npmrc — samplefiles.com
registry=https://registry.npmjs.org/
@sample:registry=https://npm.pkg.example.com/
//npm.pkg.example.com/:_authToken=${NPM_TOKEN}
save-exact=true
engine-strict=true
fund=false
audit-level=highFile details
Download from the command line
curl -L -o .npmrc https://files.samplefiles.com/config/npmrc/.npmrcwget https://files.samplefiles.com/config/npmrc/.npmrchttps://files.samplefiles.com/config/npmrc/.npmrcprintf '%s %s\n' e1587132b3d6f55b1cfc366048b821081ca4a527157c23732d614c11eda3af9a .npmrc | shasum -a 256 -cOr check the download in your browser with the checksum calculator.