How to tell the version of the installed RxJS from the code? For example:
var Rx = require('rxjs/Rx');
console.log(Rx.rev); // undefined
console.log(Rx.version); // undefined
Second question: How to tell if it's rxjs5 ?
This will show all NPM package versions if you installed with NPM.
npm list --depth=0
If you leave out the --depth then you'll get all their dependencies also.