Quantcast
Channel: what do lines starting with double-slash '//' mean in a .npmrc? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by dgraf for what do lines starting with double-slash '//' mean in a...

According to the nmpjs docs, the .npmrc interprets a line as a comment when it begins with ; or #The "//registry.npmjs.org/:" is referenced in the docs as an "URI fragment", which should be used in...

View Article



Answer by mihai for what do lines starting with double-slash '//' mean in a...

// has no special meaning in .npmrc or any other .ini file.The ini syntax is key = value. So in this case the key is //npm.myregistry.io/:_authToken.This is a Protocol-relative URL, meaning an URL that...

View Article

what do lines starting with double-slash '//' mean in a .npmrc?

I'd naively assumed that .npmrc lines with double slash ('//') indicate a comment, but that's clearly not the case, because when I delete them, I'm unable to publish to my local...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images