outlet

> Run an ordered series of functions before and after execution of a function.

  • outlet

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
outlet
0.1.58 years ago9 years agoMinified + gzip package size for outlet in KB

Readme

outlet
Run an ordered series of functions before and after execution of a function.

Install

npm i -S outlet

Usage

const container = {}
const outlet = new Outlet(container)
outlet.before('foo', async () => {})
outlet.after('foo', async () => {})
outlet.run('foo', async () => {})

Benchmark

gulp lib:compile && node lib/__bench__/index.js

License

MIT