Skip to content
/ get Public

A bare bones Node.js HTTP get library that returns a promise

License

Notifications You must be signed in to change notification settings

dombrant/get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get

A bare bones Node.js HTTP get library that returns a promise. Automatically parses JSON. Inspired from Tomas Dvorak's article.

Usage

Install it via npm:

$ npm install https://github.com/dombrant/get

Then import it (Note: get.js only supports ES module syntax):

import get from "get";

get("https://api.example.com")
  .then((response) => console.log(response))
  .catch((error) => console.log(error));

Contributors

Dominic Brant.

If you have any thoughts/suggestions/problems, feel free to open an issue.

License

MIT© Dominic Brant

About

A bare bones Node.js HTTP get library that returns a promise

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published