1.0.6 • Published 4 years ago

rikuesuto v1.0.6

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

Rikuesuto

A simple node.js http client.

"rikuesuto" is request in japanese

Installation and Usage

node.js version 12 or newer is required.

yarn add rikuesuto

P.S. when working with form-data make sure to install form-data.

JSON Response:

import { make } from "rikuesuto";

make("https://api.github.com/users/melike2d")
   .then(res => console.log(res.json))

POST Request:

import { make, Method } from "rikuesuto";

make("https://httpbin.org/post")
    .method(Method.POST)
    .body({ a: 1 }) // automatically stringifies the json.
    .then((res) => console.log(res.json))

rikuesuto is licensed under the MIT License.

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago