Attempts to normalize all the different ways people put license information in their package.json files.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

normalize-license

Attempts to normalize all the different ways people put license information in their package.json files.

usage

var format = require('normalize-license');

var license = format(json);

There is also a "guessing" feature:

format(json, true);

This will attempt to look into the json.readme property to "Guess" the license.

build

Build Status