1.0.10 • Published 4 years ago

vendorize v1.0.10

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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).

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.

1.0.10

4 years ago

1.0.9

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago