GithubHelp home page GithubHelp logo

milosrasic / license-drama-check Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 4 KB

Check node_modules for \"open source\" licenses altered to deny license to certain entities

License: MIT License

JavaScript 100.00%

license-drama-check's Introduction

license-drama-check

A simple Node.js package to check your dependencies for any open source license shenanigans that deny license to certain entities.

Installation

yarn add license-drama-check

or

npm install license-drama-check

Usage

The package can be user either in CLI or programatically, as a function.

After installing the package, the CLI command is:

license-drama-check

If your package manager doesn't set the command up properly, you can always run it with

./node_modules/license-drama-check/run.js

To use programatically, import the module, which is a function and call it:

const check = require('license-drama-check');

const result = check();

The return value is true if a problem is found or false if no problems are found.

If you're using shelljs or a similar package to change cwd in your script, make sure to call the function while cwd is the root of your project.

Contributions

PRs to make the script smarter or simply cover any changes in wording in the affected projects are greatly appreciated.

Disclaimer

The purpose of this package is to detect any potentially harmful open source license tampering. Any similarities with a case of open source license drama, past, present or future, may or may not be intentional.

license-drama-check's People

Contributors

milosrasic avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.