# vorpal-use

> Live importing of Vorpal extensions.

Latest version **1.0.1** (published 2015-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install vorpal-use
pnpm add vorpal-use
yarn add vorpal-use
bun add vorpal-use
```

## 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.0.1 |
| Published | 2015-08-24 |
| First published | 2015-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.11.16 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | dthree |
| Maintainers | dthree |
| Keywords | api, cli, repl, vantage, vorpaljs |

## Links

- npm: https://www.npmjs.com/package/vorpal-use
- Repository: https://github.com/vorpaljs/vorpal-use
- Homepage: https://github.com/vorpaljs/vorpal-use#readme
- Issues: https://github.com/vorpaljs/vorpal-use/issues
- npm.io page: https://npm.io/package/vorpal-use

## Dependencies (3)

- [npm](https://npm.io/package/npm.md) ^3.3.0
- [temp](https://npm.io/package/temp.md) ^0.8.3
- [chalk](https://npm.io/package/chalk.md) ^1.1.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-08-24

## README

# vorpal-use

<img src="https://travis-ci.org/vorpaljs/vorpal-use.svg" alt="Build Status" />

An extension for [Vorpal](https://github.com/dthree/vorpal).

Forgot to install a useful extension in development and now you need it live? No problem.

This will install a `use` command into one's Vorpal instance, which will automatically import a given NPM module acting as a Vorpal extension, and register the commands contained inside while the app is still live. This import has an in-memory lifecycle and the module is dumped when the thread quits.

```bash
node~$
node~$ use vorpal-repl
Installing vorpal-repl from the NPM registry:
Successfully registered 1 new command.
node~$
node~$ repl
node~$ repl: 6*8
48
node~$ repl:
```

### Installation

```bash
npm install vorpal-use --save
```

### Usage

```js
const Vorpal = require('vorpal');
const use = require('vorpal-use');
let vorpal = new Vorpal();

vorpal
  .delimiter('node~$')
  .use(use)
  .show();
```

### License

MIT

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