0.2.2 • Published 5 years ago

@egoist/bundle-runner v0.2.2

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

bundle-runner

NPM version NPM downloads CircleCI donate chat

Install

yarn add @egoist/bundle-runner

Usage

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, Released under the MIT License. Authored and maintained by EGOIST with help from contributors (list).

egoist.sh · GitHub @EGOIST · Twitter @_egoistlily

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago