1.2.0 • Published 6 years ago

zinohttp v1.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

ZinoHTTP

npm version import size install size npm downloads

A tiny no-dependency incredibly fast http library, made with micro-services in mind.

Installing

Using npm:

$ npm install zinohttp

Using yarn:

$ yarn add zinohttp

Example

NOTE: TypeScript usage recommended, comes with types pre-compiled.

import zino from 'zinohttp';

or

const zino = require('zinohttp').default;

Performing a GET request

import zino from 'zinohttp';

zino.get("https://httpbin.org/get").then(response => {
    console.log(response.data);
});

Performing a POST request

import zino from 'zinohttp';

zino.post("https://httpbin.org/post", { order: 66 }).then(response => {
    console.log(response.data);
});
1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago