上QQ阅读APP看书,第一时间看更新
RxJS
The last tool we need to follow in this book is RxJS; we will use this library in later chapters. This library also runs in both client and server and we will be using version 4.1.0.
To install it on your server, just run the following command inside a node project:
npm i rx@4.1.0 -save
To add it to an HTML page, just paste the following code snippet inside it:
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.1.0/rx.all.js">
</script>
For those using other package managers, you can also install bacon.js and RxJS from Bower and NuGet.