UNPKG

mutant

Version:

Create observables and map them to DOM elements. Massively inspired by hyperscript and observ-*. No virtual dom, just direct observable bindings. Unnecessary garbage collection is avoided by using mutable objects instead of blasting immutable junk all ove

47 lines (46 loc) 1.55 kB
module.exports = { // Types 'Array': require('./array'), 'Dict': require('./dict'), 'Set': require('./set'), 'Struct': require('./struct'), 'Value': require('./value'), 'MappedArray': require('./mapped-array'), 'MappedDict': require('./mapped-dict'), 'TypedCollection': require('./typed-collection'), // ProxyTypes 'ProxyCollection': require('./proxy-collection'), 'ProxyDict': require('./proxy-dict'), 'Proxy': require('./proxy'), // Transforms 'computed': require('./computed'), 'concat': require('./concat'), 'dictToCollection': require('./dict-to-collection'), 'idleProxy': require('./idle-proxy'), 'keys': require('./keys'), 'lookup': require('./lookup'), 'map': require('./map'), 'merge': require('./merge'), 'reverse': require('./reverse'), 'throttle': require('./throttle'), 'when': require('./when'), // Sinks 'h': require('./html-element'), 'HtmlElement': require('./html-element'), 'svg': require('./svg-element'), 'SvgElement': require('./svg-element'), 'watchAll': require('./watch-all'), 'watch': require('./watch'), 'watchThrottle': require('./watch-throttle'), // Helpers 'forEach': require('./for-each'), 'forEachPair': require('./for-each-pair'), 'isObservable': require('./is-observable'), 'onceIdle': require('./once-idle'), 'onceTrue': require('./once-true'), 'resolve': require('./resolve'), 'channel': require('./channel'), 'watchEvent': require('./watch-event'), 'watchAnimationFrame': require('./watch-animation-frame'), 'send': require('./send') }