Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 589 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 589 Bytes

zen-observable

An implementation of ES Observables.

Requires ES6 Promises or a Promise polyfill.

Install

npm install zen-observable

Download

Usage

Node:

var Observable = require("zen-observable");

Observable.of(1, 2, 3).forEach(x => console.log(x));

Browser:

<script src="zen-observable.js"></script>
<script>
    Observable.of(1, 2, 3).forEach(x => console.log(x));
</script>