Skip to content

leowang721/k-core

Repository files navigation

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.