dogu-utils 0.0.2 → 0.0.4
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.md +17 -0
- package/package.json +7 -7
- package/src/index.ts +1 -0
- package/src/types/EmptyObject.ts +1 -0
- package/src/types/index.ts +1 -0
- package/src/utils/EarlyReturn.ts +1 -1
package/README.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Dogu-Utils
|
2
|
+
|
3
|
+
Dogu-Utils is a utility library for TypeScript and JavaScript. The name "Dogu" (도구) is a Korean word that translates to "tool" in English. This library aims to be a useful tool for developers, providing a collection of utility features.
|
4
|
+
|
5
|
+
## Features
|
6
|
+
|
7
|
+
- TypeScript support
|
8
|
+
- React hooks
|
9
|
+
- Utility functions
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
To install Dogu-Utils, run the following command:
|
14
|
+
|
15
|
+
```sh
|
16
|
+
npm install dogu-utils
|
17
|
+
```
|
package/package.json
CHANGED
@@ -1,14 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "dogu-utils",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.4",
|
4
4
|
"main": "./dist/index.js",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"type": "module",
|
7
|
-
"scripts": {
|
8
|
-
"build": "rollup -c",
|
9
|
-
"watch": "rollup -cw",
|
10
|
-
"test": "vitest"
|
11
|
-
},
|
12
7
|
"devDependencies": {
|
13
8
|
"@babel/core": "^7.24.4",
|
14
9
|
"@babel/preset-env": "^7.24.4",
|
@@ -22,5 +17,10 @@
|
|
22
17
|
},
|
23
18
|
"peerDependencies": {
|
24
19
|
"react": "^18.2.0"
|
20
|
+
},
|
21
|
+
"scripts": {
|
22
|
+
"build": "rollup -c",
|
23
|
+
"watch": "rollup -cw",
|
24
|
+
"test": "vitest"
|
25
25
|
}
|
26
|
-
}
|
26
|
+
}
|
package/src/index.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export type EmptyObject = Record<PropertyKey, never>
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./EmptyObject"
|