Releases: stackhtml/hstream
Releases · stackhtml/hstream
v3.1.1
v3.1.0
v3.0.0
- Update dependencies. This major version bump is out of caution in case the parsing for the underlying HTML or CSS selector libraries changed.
v2.0.0
- Update dependencies. hstream now requires Node.js 8 or up.
v1.2.0
-
Add ability to append or prepend to attributes (e9b71c3)
hstream({ '#app': { class: { prepend: 'beep ', append: ' boop' } } })
-
Remove attributes by setting
attrName: null
(32480ba) -
Edit attributes by passing a function (32480ba)
hstream({ '#app': { title: function (prev) { return prev.toUpperCase() } } })
-
Edit html contents by passing a function (b562c5f)
hstream({ 'code': { _html: function (source) { return highlightHTML(source) } } })