celles

0.3.0 • Public • Published

celles

Small FRP library.

Usage

celles = require "celles"
 
= celles.cell 1
= celles.cell 2
 
console.log a.value # 1 
console.log b.value # 2 
 
= celles.formula [ab](a, b) ->
  a + b
 
console.log c.value # 3 
 
a.set 2
 
console.log c.value # 4 
 
= celles.template
  propA: a
  propB: b
  propC: c
 
console.log d.value # { propA: 2, propB: 2, propC: 4 } 
 
b.set 3
 
console.log d.value # { propA: 2, propB: 3, propC: 5 } 

Schedule

  • 0.2 - recursive template
  • 0.3 - integration with callbacks and promises
  • 0.4 - integration with streams

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.00
0.2.00
0.1.10
0.1.00

Package Sidebar

Install

npm i celles

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • rithis