@indra211/httpease 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  A lightweight, powerful HTTP client for JavaScript & TypeScript — Built on native fetch with automatic retry, interceptors, progress tracking, and more.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/http-ease.svg)](https://www.npmjs.com/package/http-ease)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
6
 
8
7
  ## ✨ Why HTTP Ease?
9
8
 
@@ -24,12 +23,13 @@ HTTP Ease is a modern HTTP client that combines the simplicity of native `fetch`
24
23
  ## 📦 Installation
25
24
 
26
25
  ```bash
27
- npm install httpease
26
+ npm install @indra211/httpease
28
27
  ```
29
28
 
30
29
  ## 🎯 Quick Start
31
30
 
32
31
  ### JavaScript
32
+
33
33
  ```javascript
34
34
  const httpEase = require('httpease');
35
35
 
@@ -45,6 +45,7 @@ const newUser = await httpEase.post('https://api.example.com/users', {
45
45
  ```
46
46
 
47
47
  ### TypeScript
48
+
48
49
  ```typescript
49
50
  import httpEase, { create, HttpEaseResponse } from 'httpease';
50
51
 
@@ -374,17 +375,17 @@ try {
374
375
  ## 🆚 Comparison with Axios
375
376
 
376
377
  | Feature | HTTP Ease | Axios |
377
- | ----------------------------| --------- | -------------------- |
378
- | **Size** | ~5KB | ~13KB |
379
- | **Dependencies** | 0 | Many |
380
- | **Built-in Retry** | ✅ Yes | ❌ No (needs plugin) |
381
- | **Interceptors** | ✅ Yes | ✅ Yes |
382
- | **Timeout** | ✅ Yes | ✅ Yes |
383
- | **Auto JSON** | ✅ Yes | ✅ Yes |
384
- | **Query Params** | ✅ Yes | ✅ Yes |
385
- | **Progress Tracking** | ✅ Yes | ✅ Yes |
386
- | **Cancel Requests** | ✅ Yes | ✅ Yes |
387
- | **TypeScript** | ✅ Yes | ✅ Yes |
378
+ | --------------------------- | --------- | -------------------- |
379
+ | **Size** | ~5KB | ~13KB |
380
+ | **Dependencies** | 0 | Many |
381
+ | **Built-in Retry** | ✅ Yes | ❌ No (needs plugin) |
382
+ | **Interceptors** | ✅ Yes | ✅ Yes |
383
+ | **Timeout** | ✅ Yes | ✅ Yes |
384
+ | **Auto JSON** | ✅ Yes | ✅ Yes |
385
+ | **Query Params** | ✅ Yes | ✅ Yes |
386
+ | **Progress Tracking** | ✅ Yes | ✅ Yes |
387
+ | **Cancel Requests** | ✅ Yes | ✅ Yes |
388
+ | **TypeScript** | ✅ Yes | ✅ Yes |
388
389
 
389
390
  ## 🎯 Use Cases
390
391
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra211/httpease",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Lightweight HTTP client built on native fetch — zero dependencies, TypeScript support, retry, interceptors & progress tracking.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/types/index.d.ts",