GitbookIO / licenses-utils

Utilities to detect licenses from project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Licenses Utilities

Build Status NPM version

This node package contains multiple utilies to manage licenses: detect, list, ...

How to install it?

$ npm install licenses-utils

How to use it?

Include the library:

var licenses = require("licenses-utils");

Detect from a folder

licenses.detectFolder("./project", function(err, license) {

});

Detect from a string

var license = licenses.detect("...");

List all and return a specific one

var all = licenses.list();

var mit = licenses.get("mit");

About

Utilities to detect licenses from project

License:Apache License 2.0


Languages

Language:JavaScript 100.0%