# @egoist/bundle-runner

> my supreme project

Latest version **0.2.2** (published 2019-11-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @egoist/bundle-runner
pnpm add @egoist/bundle-runner
yarn add @egoist/bundle-runner
bun add @egoist/bundle-runner
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2019-11-08 |
| First published | 2019-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 62 |
| Author | egoist |
| Maintainers | egoist |

## Links

- npm: https://www.npmjs.com/package/@egoist/bundle-runner
- Repository: https://github.com/egoist/bundle-runner
- Homepage: https://github.com/egoist/bundle-runner#readme
- Issues: https://github.com/egoist/bundle-runner/issues
- npm.io page: https://npm.io/package/@egoist/bundle-runner

## Dependencies (1)

- [resolve](https://npm.io/package/resolve.md) ^1.10.1

## Recent versions

- 0.2.2 (latest) — 2019-11-08
- 0.2.1 — 2019-11-08
- 0.2.0 — 2019-11-08
- 0.1.2 — 2019-04-25
- 0.1.1 — 2019-04-24
- 0.1.0 — 2019-04-24

## README

# bundle-runner

[![NPM version](https://badgen.net/npm/v/bundle-runner)](https://npmjs.com/package/bundle-runner) [![NPM downloads](https://badgen.net/npm/dm/bundle-runner)](https://npmjs.com/package/bundle-runner) [![CircleCI](https://badgen.net/circleci/github/egoist/bundle-runner/master)](https://circleci.com/gh/egoist/bundle-runner/tree/master) [![donate](https://badgen.net/badge/support%20me/donate/ff69b4)](https://patreon.com/egoist) [![chat](https://badgen.net/badge/chat%20on/discord/7289DA)](https://chat.egoist.moe)

## Install

```bash
yarn add @egoist/bundle-runner
```

## Usage

```js
const { createBundleRunner } = require('@egoist/bundle-runner')

const runner = createBundleRunner('entry.js', {
  'entry.js': `module.exports = context => context.a + context.b`
})

runner({ a: 1, b: 2 }).then(result => {
  console.log(result)
  //=> 3
})
```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

**bundle-runner** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by EGOIST with help from contributors ([list](https://github.com/egoist/bundle-runner/contributors)).

> [egoist.sh](https://egoist.sh) · GitHub [@EGOIST](https://github.com/egoist) · Twitter [@\_egoistlily](https://twitter.com/_egoistlily)

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