igor9silva / PromRequest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node PromRequest

What?

This project was made to help those who want to use promises with something similar with the Node HTTP Request API, also, this library allow you to define one domain/endpoint and execute REST requests to it's internal endpoints, using the specificed domain as the root, without the need to always type it.

Why?

The Node HTTP Request native API is quite unfriendly considering our project most times,need multiples requests to be queued, this sometimes lead us to a bad habit and a self-destructive/hard to maintain callback hell.

Who?

The project was developed by me, Raphael, between inspiring talks with Igor. The intent of the project is for study purposes, but feel free to use it wherever you want.


Installing

npm install prom-request

Usage

You can find some usage examples here.

About


Languages

Language:JavaScript 100.0%