JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2095446
  • Score
    100M100P100Q245910F
  • License MIT

Support any Observable library and polyfill

Package Exports

  • any-observable

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (any-observable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

any-observable Build Status

Support any Observable library and polyfill

Like any-promise. (Docs are lacking here, so refer to those docs for now)

Install

$ npm install --save any-observable

You must also install the Observable library you want:

$ npm install --save zen-observable

Usage

const Observable = require('any-observable'); // using `zen-observable` since it's installed

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

License

MIT © Sindre Sorhus