summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/normalize-package-data/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/normalize-package-data/README.md')
-rw-r--r--deps/npm/node_modules/normalize-package-data/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/npm/node_modules/normalize-package-data/README.md b/deps/npm/node_modules/normalize-package-data/README.md
index 4b159126d..0b9d7b5b4 100644
--- a/deps/npm/node_modules/normalize-package-data/README.md
+++ b/deps/npm/node_modules/normalize-package-data/README.md
@@ -93,6 +93,10 @@ If `name` field is given, the value of the name field must be a string. The stri
If `version` field is given, the value of the version field must be a valid *semver* string, as determined by the `semver.valid` method. See [documentation for the semver module](https://github.com/isaacs/node-semver).
+### Rules for license field
+
+The `license` field should be a valid *SDPDX license expression* string, as determined by the `spdx.valid` method. See [documentation for the spdx module](https://github.com/kemitchell/spdx.js).
+
## Credits
This package contains code based on read-package-json written by Isaac Z. Schlueter. Used with permisson.