1.0.6 • Published 5 years ago

rikuesuto v1.0.6

Weekly downloads
13
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago