0.5.0 • Published 9 years ago

boajs-core v0.5.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

boajs-core

The core library for b-o-a.

Concepts

  • uni-directional
  • single dispatcher
  • action cycle

Types

  • type O<T> = Observable<T>;
  • type A<T> = { type: string; data?: T; };
  • type HandlerOptions = { re: (action: A<any>) => void; };
  • type Handler = (action$: O<A<any>>, options?: HandlerOptions) => O<A<any>>;
  • type run = (app: Handler) => void;

Installation

$ npm install boajs-core

Badges

Circle CI

License

Source Code

MIT (@bouzuya)

Logo

MIT (@haskrock)

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)

0.5.0

9 years ago

0.4.0

9 years ago