normalize-license
Attempts to normalize all the different ways people put license information in their package.json files.
usage
var format = ; var license = ;
There is also a "guessing" feature:
format(json, true);
This will attempt to look into the json.readme
property to "Guess" the license.