0.1.5 • Published 8 years ago

outlet v0.1.5

Weekly downloads
81
License
MIT
Repository
-
Last release
8 years ago

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