normalize-license

Normalize package.json license info

npm install normalize-license
19 downloads in the last day
38 downloads in the last week
44 downloads in the last month

license-normalizer

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

npm loves you