Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

readme.md 798 B

3 år sedan
12345678910111213141516171819202122232425262728293031
  1. # symbol-observable [![Build Status](https://travis-ci.org/benlesh/symbol-observable.svg?branch=master)](https://travis-ci.org/benlesh/symbol-observable)
  2. > [`Symbol.observable`](https://github.com/zenparsing/es-observable) [ponyfill](https://ponyfill.com)
  3. ## Install
  4. ```
  5. $ npm install --save symbol-observable
  6. ```
  7. ## Usage
  8. ```js
  9. const symbolObservable = require('symbol-observable').default;
  10. console.log(symbolObservable);
  11. //=> Symbol(observable)
  12. ```
  13. ## Related
  14. - [is-observable](https://github.com/sindresorhus/is-observable) - Check if a value is an Observable
  15. - [observable-to-promise](https://github.com/sindresorhus/observable-to-promise) - Convert an Observable to a Promise
  16. ## License
  17. MIT © [Sindre Sorhus](https://sindresorhus.com) and [Ben Lesh](https://github.com/benlesh)