title: How to create an RxJs Observable from a node request
body: <p>Currently can create an observable explicitly as follows:</p>
  
  <pre><code>const Rx = require("rxjs");
  const request = require("request");
  
          return Rx.Observable.create(function (observer) {
              request(options, function (error, response, body) {
                  if (error) {
                      observer.error(error);
                  } else {
                      observer.next(response);
                      observer.complete();
                  }
              });
          });
  </code></pre>
  
  <p>Is there a shorthand way to do this with the RxJs library (or another library)?</p>