universal-rxjs-ajax playground

node v12.22.12
version: 2.0.4
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
const {map} = require("rxjs/operators") const {request} = require("universal-rxjs-ajax") // settings as accepted by Observable.ajax() const settings = { url: 'https://api.github.com/orgs/Reactive-Extensions/repos', method: 'GET' // and so on... } request(settings) .pipe(map(({response}) => response.map(r => r.name))) .subscribe(repoNames => console.log(repoNames))
Loading…

no comments

    sign in to comment