Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

dimensional-fun/rikuesuto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🧐 simple http library for things

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project