http-ease
v1.1.3
Published
A simple, lightweight HTTP request library for Node.js and browsers
Downloads
5
Maintainers
Readme
http-ease
this is a basic(dummy) javacsript http library.
It supports basic HTTP methods and provides a way to interact with APIs and servers
Features
- Supports basic HTTP methods - GET, POST, PUT, PATCH, and DELETE
- Works in both Node.js and browser environments
- Handles both JSON and plain text responses
- Allows custom headers to be set for requests
Installation
npm install http-ease
Usage
Here’s how you can use http-ease in your project
import HttpEase from 'http-ease'
const ease = new HttpEase()
ease.get("https://jsonplaceholder.typicode.com/posts")