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

.npmrc — first linesINI
# 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=high

File details

Size
229 B (229 bytes)
MIME type
text/plain
SHA-256
e1587132b3d6f55b1cfc366048b821081ca4a527157c23732d614c11eda3af9a
MD5
241f099cecc616d22080e6d7e8b30379

Download from the command line

curl -L -o .npmrc https://files.samplefiles.com/config/npmrc/.npmrc

Or check the download in your browser with the checksum calculator.