npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

allow URLs to be used in package.json for license and readme fields

In package.json, I would like to reference URLs for the license and readme fields:

  "author": "Olegzandr V.D.",
  "readme": "",
  "license": "",

but currently I am getting:

npm WARN r2g@0.1.201-rc.0 license should be a valid SPDX license expression