Arin Arin - 1 month ago 12
Javascript Question

What is the difference between Reactive-Extensions/RxJS and ReactiveX/rxjs

I am a bit confused. What is the difference between these libraries?




https://github.com/ReactiveX/rxjs

https://github.com/Reactive-Extensions/RxJS



What is the differance between rx, @reactivex/rxjs rxjs on npm.



If you search npm there are multiple libraries for rxjs which one is the official?



https://www.npmjs.com/search?q=rx

Answer

RxJS 4 is hosted on: https://github.com/Reactive-Extensions/RxJS

RxJS 5 (https://github.com/ReactiveX/rxjs) is in development and will replace RxJS 4 when its ready for production. README.md on gtihub says:

Reactive Extensions Library for JavaScript. This is a rewrite of Reactive-Extensions/RxJS and is intended to supersede it once this is ready.

RxJS 5 is completely written in TypeScript and compiled to both as ES6 and ES5 (as a bundle in UMD format).

Also, RxJS 4 is now called rx and npm while RxJS 5 is rxjs now. The scoped one @reactivex/rxjs is probably just an older npm package (they both come from the same repo).

https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md