{"analyzedAt":"2023-01-15T16:28:24.717Z","collected":{"metadata":{"name":"license-checker-rseidelsohn","scope":"unscoped","version":"3.2.0","description":"Extract NPM package licenses - Feature enhanced version of the original license-checker v25.0.1","keywords":["license","cli","checker","oss"],"date":"2023-01-15T16:26:58.364Z","author":{"name":"Roman Seidelsohn","email":"rseidelsohn@gmail.com","username":"rseidelsohn"},"publisher":{"username":"rseidelsohn","email":"rseidelsohn@gmail.com"},"maintainers":[{"username":"rseidelsohn","email":"rseidelsohn@gmail.com"}],"contributors":[{"name":"Adam Weber","email":"adamweber01@gmail.com"},{"name":"Andrew Couch","email":"andy@couchand.com"},{"name":"Andrii Kostenko","email":"andrey@kostenko.name"},{"name":"Asharma","email":"Asharma@agtinternational.com"},{"name":"Backfighter","email":"wpw.peter@gmail.com"},{"name":"Bryan English","email":"bryan@bryanenglish.com"},{"name":"Christoph Werner","email":"christoph@codepunkt.de"},{"name":"Cory Reed","email":"creed@mrn.org"},{"name":"Damien Larmine","email":"damien.larmine@gmail.com"},{"name":"Dan Rumney","email":"dancrumb@gmail.com"},{"name":"Dav Glass","email":"davglass@gmail.com"},{"name":"David Langer","email":"mail@davidlanger.de"},{"name":"Dick Wiggers","email":"dickje@gmail.com"},{"name":"Dmitry Semigradsky","email":"semigradskyd@gmail.com"},{"name":"Drew Folta","email":"drew@folta.net"},{"name":"Elijah Insua","email":"tmpvar@gmail.com"},{"name":"Francois Zaninotto","email":"fzaninotto@gmail.com"},{"name":"Glen Arrowsmith","email":"glen.arrowsmith@gmail.com"},{"name":"Helio Frota","email":"00hf11@gmail.com"},{"name":"Holger Knust","email":"holger.knust@certusview.com"},{"name":"Honza Javorek","email":"mail@honzajavorek.cz"},{"name":"Ivan Latunov","email":"ivan.latunov@chaosgroup.com"},{"name":"James Bloomer","email":"github2@thebloomers.co.uk"},{"name":"Jonny Reeves","email":"john.reeves@improbable.io"},{"name":"Jonny Reeves","email":"jonny@improbable.io"},{"name":"Ladislav Prskavec","email":"abtris@Ladislavs-MacBook-Pro.local"},{"name":"Ladislav Prskavec","email":"ladislav@prskavec.net"},{"name":"Lorenzo Cesana","email":"cesana.lorenzo@gmail.com"},{"name":"Mark Tse","email":"mark.tse@d2l.com"},{"name":"Mark Tse","email":"neverendingqs@users.noreply.github.com"},{"name":"Mattias Amnefelt","email":"mattiasa@cantemo.com"},{"name":"Mehmet Baker","email":"mehmet@mehmetbaker.dev"},{"name":"Michael Kühnel","email":"mail@michael-kuehnel.de"},{"name":"Michael Williamson","email":"mike@zwobble.org"},{"name":"Paul Mandel","email":"paul.mand3l@gmail.com"},{"name":"Peter Uithoven","email":"peter@peteruithoven.nl"},{"name":"Philipp Tusch","email":"philipp.tusch@huf-group.com"},{"name":"Rogier Schouten","email":"github@workingcode.nl"},{"name":"Roman Seidelsohn","email":"rseidelsohn@gmail.com"},{"name":"Stan Senotrusov","email":"stan@senotrusov.com"},{"name":"Stoyan Revov","email":"st.revov@gmail.com"},{"name":"Tero Keski-Valkama","email":"tero.keski-valkama@cybercom.com"},{"name":"Thomas Grainger","email":"tagrain@gmail.com"},{"name":"Tim Brust","email":"tim.brust@sinnerschrader.com"},{"name":"Tim Oxley","email":"secoif@gmail.com"},{"name":"Timothée Mazzucotelli","email":"timothee.mazzucotelli@gmail.com"},{"name":"Tobi","email":"tobilg@gmail.com"},{"name":"Tobias Büschel","email":"tobias.bueschel@gmail.com"},{"name":"Yukari Ishibashi","email":"ibeucaly@users.noreply.github.com"},{"name":"Yuri Zapuchlak","email":"yuri@vidmaker.com"},{"name":"badunk","email":"baduncaduncan@gmail.com"},{"name":"creising","email":"creising@gmail.com"},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]@users.noreply.github.com"},{"name":"gdw2","email":"gdwarner@Gmail.com"},{"name":"ktmouk","email":"ktmouk@gmail.com"},{"name":"santiagocanti","email":"santiago.canti@auth0.com"},{"name":"tbbstny","email":"tbbstny@users.noreply.github.com"},{"name":"zodiac403","email":"zodiac403@gmx.de"}],"repository":{"type":"git","url":"git+https://github.com/RSeidelsohn/license-checker-rseidelsohn.git"},"links":{"npm":"https://www.npmjs.com/package/license-checker-rseidelsohn","homepage":"https://github.com/RSeidelsohn/license-checker-rseidelsohn#readme","repository":"https://github.com/RSeidelsohn/license-checker-rseidelsohn","bugs":"http://github.com/RSeidelsohn/license-checker-rseidelsohn/issues"},"license":"BSD-3-Clause","dependencies":{"chalk":"^4.1.2","debug":"^4.3.2","lodash.clonedeep":"^4.5.0","mkdirp":"^1.0.4","nopt":"^5.0.0","read-installed-packages":"^1.0.0","semver":"^7.3.5","spdx-correct":"^3.1.1","spdx-expression-parse":"^3.0.1","spdx-satisfies":"^5.0.1","treeify":"^1.1.0"},"devDependencies":{"@types/mssql":"6.0.8","@types/node":"^16.10.3","detectionizr":"*","eslint":"^8.0.0","format-package-json":"^0.2.0","git-contributors":"^0.2.3","github-changes":"^2.0.3","istanbul":"^0.4.5","jenkins-mocha":"^8.0.0","locale":"^0.1.0","prettier":"^2.4.1","queue":"^6.0.2","request":"^2.88.2","rimraf":"^3.0.2"},"releases":[{"from":"2022-12-16T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":0},{"from":"2022-10-17T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":0},{"from":"2022-07-19T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":0},{"from":"2022-01-15T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":8},{"from":"2021-01-15T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":16}],"hasTestScript":true,"readme":"<img src=\"https://img.shields.io/npm/l/license-checker-rseidelsohn\" />\n\n[![NPM](https://nodei.co/npm/license-checker-rseidelsohn.png)](https://nodei.co/npm/license-checker-rseidelsohn/)\n\n# NPM License Checker\n\n## Table of Contents\n\n- [NPM License Checker](#npm-license-checker)\n  - [Table of Contents](#table-of-contents)\n  - [Introduction](#introduction)\n  - [Changes](#changes)\n    - [Version 3.1.0](#version-310)\n    - [Version 3.0.1](#version-301)\n    - [Version 3.0.0](#version-300)\n  - [All options in alphabetical order:](#all-options-in-alphabetical-order)\n  - [Exclusions](#exclusions)\n  - [Examples](#examples)\n  - [Custom format](#custom-format)\n  - [Requiring](#requiring)\n  - [Debugging](#debugging)\n  - [How Licenses are Found](#how-licenses-are-found)\n  - [Related information sources on the internet](#related-information-sources-on-the-internet)\n\n<a name=\"introduction\"/>\n\n## Introduction\n_This is a fork of davglass' [license-checker v.25.0.1](https://github.com/davglass/license-checker/releases/tag/v25.0.1) - Since that code doesn't seem to be updated regularly, I created this fork for being able to adding new features and fixing bugs._\n\n_I changed the original `exclude` argument to `excludeLicenses` in order to prevent confusion and better align it with the `excludePackages` argument. Also, the argument `includeLicenses` has been added for listing only packages that include the licenses listed._\n\n**Please notice:** Version 1.2.2 is the last version working fine on node v12. From Version 2 on, you will need at least Node v14 to run this NPM license checker. Thanks to @daniel-schulz for pointing this out!\n\nEver needed to see all the license info for a module and its dependencies?\n\nIt's this easy:\n\n```shell\nnpm install -g license-checker-rseidelsohn\n\nmkdir foo\ncd foo\nnpm install yui-lint\nlicense-checker-rseidelsohn\n```\n\nYou should see something like this:\n\n```\n├─ cli@0.4.3\n│  ├─ repository: http://github.com/chriso/cli\n│  └─ licenses: MIT\n├─ glob@3.1.14\n│  ├─ repository: https://github.com/isaacs/node-glob\n│  └─ licenses: UNKNOWN\n├─ graceful-fs@1.1.14\n│  ├─ repository: https://github.com/isaacs/node-graceful-fs\n│  └─ licenses: UNKNOWN\n├─ inherits@1.0.0\n│  ├─ repository: https://github.com/isaacs/inherits\n│  └─ licenses: UNKNOWN\n├─ jshint@0.9.1\n│  └─ licenses: MIT\n├─ lru-cache@1.0.6\n│  ├─ repository: https://github.com/isaacs/node-lru-cache\n│  └─ licenses: MIT\n├─ lru-cache@2.0.4\n│  ├─ repository: https://github.com/isaacs/node-lru-cache\n│  └─ licenses: MIT\n├─ minimatch@0.0.5\n│  ├─ repository: https://github.com/isaacs/minimatch\n│  └─ licenses: MIT\n├─ minimatch@0.2.9\n│  ├─ repository: https://github.com/isaacs/minimatch\n│  └─ licenses: MIT\n├─ sigmund@1.0.0\n│  ├─ repository: https://github.com/isaacs/sigmund\n│  └─ licenses: UNKNOWN\n└─ yui-lint@0.1.1\n   ├─ licenses: BSD\n   └─ repository: http://github.com/yui/yui-lint\n```\n\nAn asterisk next to a license name means that it was deduced from\nan other file than package.json (README, LICENSE, COPYING, ...)\nYou could see something like this:\n\n```\n└─ debug@2.0.0\n   ├─ repository: https://github.com/visionmedia/debug\n   └─ licenses: MIT*\n```\n\n<a name=\"changes\"/>\n\n## Changes\n\n### Version 3.1.0\n\nAdd new option `--limitAttributes`. Example usage: `node bin/license-checker-rseidelsohn --limitAttributes publisher,email` will only list the `publisher` and `email` attributes for every dependency.\n\n### Version 3.0.1\n\nFix the `--direct` option.\n\n### Version 3.0.0\n\nFrom now on, when you give the `--files` option, this tool outputs the path to the _copied_ license files rather than to\nthe originals. When the `relativeLicensePath` option is given, this path will either be relative to the working\ndirectory or - if also the `out` option is given - relative to the `out` path.\n\nWhen using the `--out` option, you will not see output in the console, as the output goes into the file specified by\n`--out`. When using the `--files` option without `--out` option, you will now get console output, which was not the case\nbefore.\n\n<a name=\"all_options_in_alphabetical_order\"/>\n\n## All options in alphabetical order:\n\n-   `--angularCli` is just a synonym for `--plainVertical`\n-   `--csv` output in csv format.\n-   `--csvComponentPrefix` prefix column for component in csv format.\n-   `--customPath` to add a custom Format file in JSON\n-   `--development` only show development dependencies.\n-   `--direct` look for direct dependencies only\n-   `--excludeLicenses [list]` exclude modules which licenses are in the comma-separated list from the output\n-   `--excludePackages [list]` restrict output to the packages (either \"package@fullversion\" or \"package@majorversion\" or only \"package\") not in the semicolon-seperated list\n-   `--excludePackagesStartingWith [list]` exclude modules which names start with the comma-separated list from the output (useful for excluding modules from a specific vendor and such). Example: `--excludePackagesStartingWith \"webpack;@types;@babel\"`\n-   `--excludePrivatePackages` restrict output to not include any package marked as private\n-   `--failOn [list]` fail (exit with code 1) on the first occurrence of the licenses of the semicolon-separated list\n-   `--files [path]` copy all license files to path and rename them to `module-name`@`version`-LICENSE.txt.\n-   `--includeLicenses [list]` include only modules which licenses are in the comma-separated list from the output\n-   `--includePackages [list]` restrict output to the packages (either \"package@fullversion\" or \"package@majorversion\" or only \"package\") in the semicolon-seperated list\n-   `--json` output in json format.\n-   `--limitAttributes [list]` limit the attributes to be output.\n-   `--markdown` output in markdown format.\n-   `--nopeer` skip peer dependencies in output.\n-   `--onlyAllow [list]` fail (exit with codexclusionse 1) on the first occurrence of the licenses not in the semicolon-seperated list\n-   `--onlyunknown` only list packages with unknown or guessed licenses.\n-   `--out [filepath]` write the data to a specific file.\n-   `--plainVertical` output license info in plain vertical format like [Angular CLI does](https://angular.io/3rdpartylicenses.txt)\n-   `--production` only show production dependencies.\n-   `--relativeLicensePath` output the location of the license files as relative paths\n-   `--relativeModulePath` output the location of the module files as relative paths\n-   `--start [filepath]` path of the initial json to look for\n-   `--summary` output a summary of the license usage',\n-   `--unknown` report guessed licenses as unknown licenses.\n-   `--version` The current version\n-   `--help` The text you are reading right now :)\n\n<a name=\"exclusions\"/>\n\n## Exclusions\n\nA list of licenses is the simplest way to describe what you want to exclude.\n\nYou can use valid [SPDX identifiers](https://spdx.org/licenses/).\nYou can use valid SPDX expressions like `MIT OR X11`.\nYou can use non-valid SPDX identifiers, like `Public Domain`, since `npm` does\nsupport some license strings that are not SPDX identifiers.\n\n<a name=\"examples\"/>\n\n## Examples\n\n```\nlicense-checker-rseidelsohn --json > /path/to/licenses.json\nlicense-checker-rseidelsohn --csv --out /path/to/licenses.csv\nlicense-checker-rseidelsohn --unknown\nlicense-checker-rseidelsohn --customPath customFormatExample.json\nlicense-checker-rseidelsohn --excludeLicenses 'MIT, MIT OR X11, BSD, ISC'\nlicense-checker-rseidelsohn --includePackages 'react@16.3.0;react-dom@16.3.0;lodash@4.3.1'\nlicense-checker-rseidelsohn --excludePackages 'internal-1;internal-2'\nlicense-checker-rseidelsohn --onlyunknown\n```\n\n<a name=\"custom_format\"/>\n\n## Custom format\n\nThe `--customPath` option can be used with CSV to specify the columns. Note that\nthe first column, `module_name`, will always be used.\n\nWhen used with JSON format, it will add the specified items to the usual ones.\n\nThe available items are the following:\n\n-   copyright\n-   description\n-   email\n-   licenseFile\n-   licenseModified\n-   licenses\n-   licenseText\n-   name\n-   publisher\n-   repository\n-   url\n-   version\n\nYou can also give default values for each item.\nSee an example in [customFormatExample.json](customFormatExample.json).\n\n<a name=\"requiring\"/>\n\n## Requiring\n\n```js\nvar checker = require('license-checker-rseidelsohn');\n\nchecker.init(\n    {\n        start: '/path/to/start/looking',\n    },\n    // eslint-disable-next-line no-unused-vars\n    function (err, packages) {\n        if (err) {\n            //Handle error\n        } else {\n            //The sorted package data\n            //as an Object\n        }\n    },\n);\n```\n\n<a name=\"debugging\"/>\n\n## Debugging\n\nlicense-checker uses [debug](https://www.npmjs.com/package/debug) for internal logging. There’s two internal markers:\n\n-   `license-checker-rseidelsohn:error` for errors\n-   `license-checker-rseidelsohn:log` for non-errors\n\nSet the `DEBUG` environment variable to one of these to see debug output:\n\n```shell\n$ export DEBUG=license-checker-rseidelsohn*; license-checker-rseidelsohn\nscanning ./yui-lint\n├─ cli@0.4.3\n│  ├─ repository: http://github.com/chriso/cli\n│  └─ licenses: MIT\n# ...\n```\n\n<a name=\"all_options_in_alphabetical_order\"/>\n\n## How Licenses are Found\n\nWe walk through the `node_modules` directory with the [`read-installed-packages`](https://www.npmjs.org/package/read-installed-packages) module. Once we gathered a list of modules we walk through them and look at all of their `package.json`'s, We try to identify the license with the [`spdx`](https://www.npmjs.com/package/spdx) module to see if it has a valid SPDX license attached. If that fails, we then look into the module for the following files: `LICENSE`, `LICENCE`, `COPYING`, & `README`.\n\nIf one of the those files are found (in that order) we will attempt to parse the license data from it with a list of known license texts. This will be shown with the `*` next to the name of the license to show that we \"guessed\" at it.\n\n<a name=\"related_information_sources_on_the_internet\"/>\n\n## Related information sources on the internet\n\n-   [ChooseALicense.com](https://choosealicense.com/) - aims at helping you in choosing an open source license for your project\n-   [TLDRLegal.com](https://tldrlegal.com/) - aims at exlaining complicated legal details of software licenses in easy to understand english"},"npm":{"downloads":[{"from":"2023-01-14T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":712},{"from":"2023-01-08T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":36873},{"from":"2022-12-16T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":116426},{"from":"2022-10-17T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":382426},{"from":"2022-07-19T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":658150},{"from":"2022-01-15T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":1089070}],"starsCount":0},"github":{"homepage":"https://www.npmjs.com/package/license-checker-rseidelsohn","starsCount":67,"forksCount":17,"subscribersCount":1,"issues":{"count":47,"openCount":13,"distribution":{"3600":7,"10800":3,"32400":0,"97200":0,"291600":0,"874800":3,"2624400":2,"7873200":7,"23619600":13,"70858800":12,"212576400":0},"isDisabled":false},"contributors":[{"username":"RSeidelsohn","commitsCount":60},{"username":"Naviair-RHL","commitsCount":6},{"username":"mehmetb","commitsCount":4},{"username":"dependabot[bot]","commitsCount":3},{"username":"rhl2401","commitsCount":3},{"username":"Coada","commitsCount":3},{"username":"gugu","commitsCount":2},{"username":"Backfighter","commitsCount":1},{"username":"Semigradsky","commitsCount":1},{"username":"d0b1010r","commitsCount":1},{"username":"cezaris13","commitsCount":1}],"commits":[{"from":"2023-01-08T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":0},{"from":"2022-12-16T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":0},{"from":"2022-10-17T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":9},{"from":"2022-07-19T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":10},{"from":"2022-01-15T00:00:00.000Z","to":"2023-01-15T00:00:00.000Z","count":58}]},"source":{"files":{"readmeSize":10468,"testsSize":49137,"hasNpmIgnore":true},"badges":[{"urls":{"original":"https://nodei.co/npm/license-checker-rseidelsohn.png","shields":"https://img.shields.io/npm/v/license-checker-rseidelsohn.svg","content":"https://img.shields.io/npm/v/license-checker-rseidelsohn.json"},"info":{"service":"npm","type":"version"}}],"linters":["eslint","prettier"],"outdatedDependencies":{"chalk":{"required":"^4.1.2","stable":"5.2.0","latest":"5.2.0"},"nopt":{"required":"^5.0.0","stable":"7.0.0","latest":"7.0.0"}}}},"evaluation":{"quality":{"carefulness":0.9199999999999999,"tests":0.6,"health":0.6363636363636364,"branding":0.15},"popularity":{"communityInterest":96,"downloadsCount":127475.33333333333,"downloadsAcceleration":392.43717656012177,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6835964350515946,"detail":{"quality":0.9196151704403972,"popularity":0.16496671769241236,"maintenance":0.9999243792203749}}}