Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

alak

1.0.33 • Public • Published

Alak Functor

npm versiontravis status dependencies Downloads

flow/stream

Functor is a function object containing data. Alak can transfer data to any other functions or functors when data change. Data is changed by passing data to the functor as argument.

inspired flyd & fantasy land

Basic functional of this library - is the one subscribe feature from Flyd with more simplest api and sugar for Finite State Machines, where can be best alternative to 'event buses', RxJs, kefir, etc...

Codesandbox base usage

Codesandbox usage

Tests as examples

Interface as docs

Install

npm i alak

DownloadsWeekly Downloads

23

Version

1.0.33

License

MIT

Unpacked Size

34.2 kB

Total Files

20

Last publish

Collaborators

  • avatar