flashheart
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published

flashheart


Flashheart


NPM downloads Build Status

A fully-featured Node.js REST client built for ease-of-use and resilience

flashheart is built on http-transport to provide everything you need to build HTTP-based services with confidence.

Installation

npm install --save flashheart

Usage

const flashheart = require('flashheart');
 
const client = flashheart.createClient({
  name: 'my_service',
  logger: console
});
 
const response = await client.get('http://echo.jsontest.com/key/value/');
console.log(response.body);
// {key: "value"}

Documentation

For more examples and API details, see API documentation

Test

npm test

To generate a test coverage report:

npm run coverage

Package Sidebar

Install

npm i flashheart

Weekly Downloads

127

Version

3.2.1

License

Apache-2.0

Unpacked Size

544 kB

Total Files

94

Last publish

Collaborators

  • ibl