jiren 1.0.0 → 1.0.1

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 +7 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,10 @@
1
- # pow
1
+ # jiren
2
2
 
3
- Ultra-fast HTTP/HTTPS client powered by native Zig (FFI).
3
+ Ultra-fast HTTP/HTTPS client.
4
4
  Designed to be significantly faster than `fetch` and other Node/Bun HTTP clients.
5
5
 
6
6
  ## Features
7
7
 
8
- - **Native Performance**: Written in Zig for memory safety and speed.
9
8
  - **Zero-Copy (Planned)**: Minimal overhead FFI.
10
9
  - **HTTP/1.1 & HTTP/3 (QUIC)**: Support for modern protocols.
11
10
  - **Connection Pooling**: Reuse connections for maximum throughput.
@@ -15,7 +14,7 @@ Designed to be significantly faster than `fetch` and other Node/Bun HTTP clients
15
14
  ## Installation
16
15
 
17
16
  ```bash
18
- bun add pow
17
+ bun add jiren
19
18
  ```
20
19
 
21
20
  ## Usage
@@ -23,9 +22,9 @@ bun add pow
23
22
  ### Basic GET
24
23
 
25
24
  ```typescript
26
- import { PowClient } from "pow"; // Class name is PowClient
25
+ import { JirenClient } from "jiren"; // Class name is JirenClient
27
26
 
28
- const client = new PowClient();
27
+ const client = new JirenClient();
29
28
  const res = client.get("https://example.com");
30
29
  console.log(res.status, res.body.length);
31
30
  ```
@@ -44,11 +43,11 @@ const res = client.get("https://google.com");
44
43
 
45
44
  ## Benchmarks
46
45
 
47
- **pow** delivers native performance by bypassing the JavaScript engine overhead for network I/O.
46
+ **jiren** delivers native performance by bypassing the JavaScript engine overhead for network I/O.
48
47
 
49
48
  | Client | Requests/sec | Relative Speed |
50
49
  | ----------------- | ------------- | -------------- |
51
- | **pow** | **1,550,000** | **1.0x** |
50
+ | **jiren** | **1,550,000** | **1.0x** |
52
51
  | Bun `fetch` | 45,000 | 34x Slower |
53
52
  | Node `http` | 32,000 | 48x Slower |
54
53
  | Python `requests` | 6,500 | 238x Slower |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jiren",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "author": "",
5
5
  "main": "index.ts",
6
6
  "module": "index.ts",