An open API service indexing awesome lists of open source software.

https://github.com/jwerle/node-stream

DOM Nodes as streams
https://github.com/jwerle/node-stream

Last synced: 10 months ago
JSON representation

DOM Nodes as streams

Awesome Lists containing this project

README

          

node-stream
======

DOM Nodes as streams

## install

```sh
$ component install jwerle/node-stream
```

## usage

```html



```

```js
var NodeStream = require('node-stream')
var node = document.getElementById('element');
var stream = NodeStream(node);

stream.on('data', function (chunk) {
console.log(chunk); // 'beep'
});

stream.write('beep');
console.log(node.innerHTML); // 'beep'
```

## license

MIT