Skip to content

Node.js abstraction for an HTTP agent with connection pool to a particular API

License

Notifications You must be signed in to change notification settings

styladev/fetch-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetch-service

Node.js abstraction for an HTTP agent with connection pool to a particular API

const Service = require( 'fetch-service' );

const someApi = new Service( 'http://some.api.com' );

someApi.request( '/path' ); // returns a Promise of Request

For documentation on the Request object, see: https://developer.mozilla.org/en-US/docs/Web/API/Request

About

Node.js abstraction for an HTTP agent with connection pool to a particular API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published