# browserify-licenses-with-url

> Extracts licenses of third party modules used in a browserify bundle

Latest version **1.3.0** (published 2016-08-01) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install browserify-licenses-with-url
pnpm add browserify-licenses-with-url
yarn add browserify-licenses-with-url
bun add browserify-licenses-with-url
```

Provides the command `brlicenses`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2016-08-01 |
| First published | 2016-08-01 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Wanadev |
| Maintainers | kzantow |
| Keywords | browserify, license |

## Links

- npm: https://www.npmjs.com/package/browserify-licenses-with-url
- Repository: https://github.com/wanadev/browserify-licenses
- Homepage: https://github.com/wanadev/browserify-licenses#readme
- Issues: https://github.com/wanadev/browserify-licenses/issues
- npm.io page: https://npm.io/package/browserify-licenses-with-url

## Dependencies (8)

- [q](https://npm.io/package/q.md) ^1.4.1
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [table](https://npm.io/package/table.md) ^3.7.8
- [yargs](https://npm.io/package/yargs.md) ^4.7.1
- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [through2](https://npm.io/package/through2.md) ^2.0.1
- [browserify](https://npm.io/package/browserify.md) ^13.0.1
- [spdx-expression-parse](https://npm.io/package/spdx-expression-parse.md) ^1.0.2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2016-08-01

## README

# Browserify License Extractor

[![Build Status](https://travis-ci.org/wanadev/browserify-licenses.svg?branch=master)](https://travis-ci.org/wanadev/browserify-licenses)
[![NPM Version](http://img.shields.io/npm/v/browserify-licenses.svg?style=flat)](https://www.npmjs.com/package/browserify-licenses)
[![License](http://img.shields.io/npm/l/browserify-licenses.svg?style=flat)](https://github.com/wanadev/browserify-licenses/blob/master/LICENSE)
[![Dependencies](https://img.shields.io/david/wanadev/browserify-licenses.svg?maxAge=2592000)]()
[![Dev Dependencies](https://img.shields.io/david/dev/wanadev/browserify-licenses.svg?maxAge=2592000)]()

> Extracts licenses of third party modules used in a browserify bundle

Browserify License Extractor list all files that will be included in
a Browerify bundle to determines which third party modules are *really*
bundled, and then it extracts the corresponding licenses to various formats.


## Install

    npm install -g browserify-licenses


## Usage

    Usage: brlicenses [options]

    Options:
        --browserify, -b  Extract licenses used in a bundle using Browserify to find
                          included modules (this option can be ommited)
        --modules, -m     Extract licenses of the given modules
        --json, -j        Extract licenses of the given JSON files (previously
                          generated with the --format=json option)
        --format, -f      Output format [choices: "table", "short", "full", "json"]
                          [default: "table"]
        --output, -o      Output file (print to stdout by default)
        --ignore, -i      Ingore the given modules in the output
        --version, -v     Show version number
        --help, -h        Show help


## Examples

    brlicenses app/index.js
    brlicenses --browserify app/index.js  # equivalent to the previous one

    brlicenses --modules lodash q abitbol

    brlicenses app/index.js \
        --json additional-licenses.json \
        --format=full \
        --output=CREDITS.txt


## Sample Output

Table formatting (to get a quick overview):

    brlicenses app/index.js

    ┌─────────────┬─────────┬──────────────┬──────────────┐
    │ Module Name │ Version │ License      │ License File │
    ├─────────────┼─────────┼──────────────┼──────────────┤
    │ abitbol     │ 1.0.4   │ BSD-3-Clause │ Yes          │
    │ keyboardjs  │ 0.4.3   │ BSD License  │ Yes          │
    │ lodash      │ 4.13.1  │ MIT          │ Yes          │
    │ photonui    │ 1.5.0   │ BSD-3-Clause │ Yes          │
    │ stonejs     │ 2.2.0   │ BSD-3-Clause │ Yes          │
    │ uuid        │ 2.0.2   │ MIT          │ Yes          │
    └─────────────┴─────────┴──────────────┴──────────────┘

    6 modules

Full output includes complete license:

    brlicenses --format=full app/index.js

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    abitbol v1.0.4 - License BSD-3-Clause
    downloaded from <https://www.npmjs.com/package/abitbol>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Copyright (c) 2015, Wanadev <http://www.wanadev.fr/>
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
        * Redistributions of source code must retain the above copyright
        notice, this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright
        notice, this list of conditions and the following disclaimer in the
        documentation and/or other materials provided with the distribution.
        * Neither the name of Wanadev nor the
        names of its contributors may be used to endorse or promote products
        derived from this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL WANADEV BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    keyboardjs v0.4.3 - License BSD License
    downloaded from <https://www.npmjs.com/package/keyboardjs>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Copyright 2011 Robert Hurst. All rights reserved.

    [... output truncated for this example ...]

---
_Source: https://npm.io/package/browserify-licenses-with-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
