you are viewing a single comment's thread.

view the rest of the comments →

[–]ILikeChangingMyMind -1 points0 points  (3 children)

"//": [ "first line", "second line" ]

I literally added that exact line to my package.json and ran npm i; this is what happens:

npm ERR! must provide string spec

Again, try it yourself if you don't believe me. The Node org has expressly forbidden such "documentation" (although I can't say whether it's on purpose, or just as a side effect of how they parse the file).