@zipbul/result 0.0.1 → 0.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.
- package/README.ko.md +3 -0
- package/README.md +3 -0
- package/package.json +11 -3
package/README.ko.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[English](./README.md) | **한국어**
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@zipbul/result)
|
|
6
|
+

|
|
7
|
+
|
|
5
8
|
예외(exception) 없이 에러를 처리하는 경량 Result 타입입니다.
|
|
6
9
|
클래스로 감싸지 않고 평범한 유니온 값(`T | Err<E>`)을 반환합니다 — 런타임 오버헤드 제로, 완전한 타입 안전성.
|
|
7
10
|
|
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**English** | [한국어](./README.ko.md)
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@zipbul/result)
|
|
6
|
+

|
|
7
|
+
|
|
5
8
|
A lightweight Result type for error handling without exceptions.
|
|
6
9
|
Returns plain union values (`T | Err<E>`) instead of wrapping in classes — zero runtime overhead, full type safety.
|
|
7
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zipbul/result",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Lightweight Result type for error handling without exceptions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Junhyung Park (https://github.com/parkrevil)",
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"bugs": "https://github.com/zipbul/toolkit/issues",
|
|
13
13
|
"homepage": "https://github.com/zipbul/toolkit/tree/main/packages/result#readme",
|
|
14
|
-
"keywords": [
|
|
14
|
+
"keywords": [
|
|
15
|
+
"result",
|
|
16
|
+
"error",
|
|
17
|
+
"either",
|
|
18
|
+
"typescript",
|
|
19
|
+
"zipbul"
|
|
20
|
+
],
|
|
15
21
|
"engines": {
|
|
16
22
|
"bun": ">=1.0.0"
|
|
17
23
|
},
|
|
@@ -24,7 +30,9 @@
|
|
|
24
30
|
"import": "./dist/index.js"
|
|
25
31
|
}
|
|
26
32
|
},
|
|
27
|
-
"files": [
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
28
36
|
"scripts": {
|
|
29
37
|
"build": "bun build index.ts --outdir dist --target bun --format esm --sourcemap=linked && tsc -p tsconfig.build.json",
|
|
30
38
|
"test": "bun test",
|