k-core
v0.2.0
Published
A simple support lib for k-* to use
Downloads
7
Maintainers
Readme
k-core
babel is required now, 'cause using import & export.
~~If in pure Node.js, then version >= 7.6.0 is required.~~
A simple lib for k-* to use
- limited core libs
- Workflow, a simple Class for asynchronous control flow
- several customed common methods
Promise
Using bluebird, uncontrolled version(^3.5.0)
EventTarget
A simple Class to replace events.EventEmitter, which can be used in both node.js and browsers.
Using eventemitter3, uncontrolled version(^2.0.2)
I enjoyed using the fire
api instead of emit
, so I just add it.
Workflow
A simple Class for asynchronous control flow.
Just like koa's middleware control.
but in async/await version.