get-example.js 185 B

12345678
  1. // get
  2. function myFn () {
  3. var one = get('https://google.com');
  4. var two = get('http://nodejs.org');
  5. var three = JSON.parse(get('http://jsonip.org'));
  6. return [one, two, three];
  7. }