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