Socket
Book a DemoInstallSign in
Socket

normalize-license

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-license

Normalize package.json license info

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

license

FAQs

Package last updated on 20 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts