0.2.0 • Published 6 years ago

k-core v0.2.0

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

k-core

Build Status Coverage Status

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

  1. limited core libs
  2. Workflow, a simple Class for asynchronous control flow
  3. several customed common methods

Promise

Using bluebird, uncontrolled version(^3.5.0)

Github Get_Started API

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)

Github API

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.