# vendorize

> Copy the contents of an NPM package into a local directory.

Latest version **1.0.10** (published 2019-12-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install vendorize
pnpm add vendorize
yarn add vendorize
bun add vendorize
```

Provides the command `vendorize`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2019-12-10 |
| First published | 2019-11-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Paul Murray |
| Maintainers | plmrry |

## Links

- npm: https://www.npmjs.com/package/vendorize
- Repository: https://github.com/plmrry/vendorize
- Homepage: https://github.com/plmrry/vendorize#readme
- Issues: https://github.com/plmrry/vendorize/issues
- npm.io page: https://npm.io/package/vendorize

## Recent versions

- 1.0.10 (latest) — 2019-12-10
- 1.0.9 — 2019-11-04
- 1.0.7 — 2019-11-01
- 1.0.6 — 2019-11-01
- 1.0.5 — 2019-11-01
- 1.0.3 — 2019-11-01
- 1.0.2 — 2019-11-01
- 1.0.1 — 2019-11-01
- 1.0.0 — 2019-11-01

## README

# Vendorize

Copy the contents of an NPM package into a local directory.

## What is Vendorizing?

Vendorizing is the practice of "including dependencies inside your own source tree as if they were part of your application" (via [Jeff Forcier](http://bitprophet.org/blog/2012/06/07/on-vendorizing/)).

## Example Usage

To vendorize the `request` library:

```
npx vendorize request
```

This will add the contents of the `request` library to a local `vendor` directory.

This results in the following directory structure:

```
- vendor
  - request
    - lib
    - CHANGELOG.md
    - index.js
    - LICENSE
    - package.json
    - README.md
    - request.js
```

You can also specify the name of the vendor directory (which defaults to "vendor"):

```
npx vendorize request libraries
```

This will add the `request` package to a local `libraries` directory.

## Using Vendorized Packages

You can install vendorized packages by running:
```
npm install file:vendor/[package-name]
```

This will **symlink** the package into `node_modules`.

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