node package manager

httpclient

HTTPClient interface for browsers and Node.js

HTTPClient.js

JavaScript HTTP client library for browsers and Node.js

npm install httpclient

var HTTPClient = require('httpclient')

or

<script src="node_modules/httpclient/bundle.js"></script>
var HTTPClient = window.HTTPClient

See example.js