@usefy/usefy 0.0.13 → 0.0.14
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 +2 -45
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -27,13 +27,12 @@
|
|
|
27
27
|
<a href="#installation">Installation</a> •
|
|
28
28
|
<a href="#packages">Packages</a> •
|
|
29
29
|
<a href="#quick-start">Quick Start</a> •
|
|
30
|
-
<a href="#features">Features</a>
|
|
31
|
-
<a href="#contributing">Contributing</a>
|
|
30
|
+
<a href="#features">Features</a>
|
|
32
31
|
</p>
|
|
33
32
|
|
|
34
33
|
---
|
|
35
34
|
|
|
36
|
-
> ⚠️ **Pre-release Notice**: This project is currently in version `0.x.x` (alpha/beta stage). APIs may change between minor versions. While fully functional and tested, please use with caution in production environments.
|
|
35
|
+
> ⚠️ **Pre-release Notice**: This project is currently in version `0.x.x` (alpha/beta stage). APIs may change between minor versions. While fully functional and tested, please use with caution in production environments.
|
|
37
36
|
>
|
|
38
37
|
> 🚧 **Actively Developing**: New hooks are being added regularly. Stay tuned for more utilities!
|
|
39
38
|
|
|
@@ -393,48 +392,6 @@ All packages are comprehensively tested using Vitest to ensure reliability and s
|
|
|
393
392
|
|
|
394
393
|
---
|
|
395
394
|
|
|
396
|
-
## Contributing
|
|
397
|
-
|
|
398
|
-
We welcome contributions! Please see our [Contributing Guide](https://github.com/geon0529/usefy/blob/master/CONTRIBUTING.md) for details.
|
|
399
|
-
|
|
400
|
-
```bash
|
|
401
|
-
# Clone the repository
|
|
402
|
-
git clone https://github.com/geon0529/usefy.git
|
|
403
|
-
|
|
404
|
-
# Install dependencies
|
|
405
|
-
pnpm install
|
|
406
|
-
|
|
407
|
-
# Run tests
|
|
408
|
-
pnpm test
|
|
409
|
-
|
|
410
|
-
# Build all packages
|
|
411
|
-
pnpm build
|
|
412
|
-
|
|
413
|
-
# Run tests with coverage
|
|
414
|
-
pnpm test --coverage
|
|
415
|
-
```
|
|
416
|
-
|
|
417
|
-
### 🗂️ Project Structure
|
|
418
|
-
|
|
419
|
-
```
|
|
420
|
-
usefy/
|
|
421
|
-
├── packages/
|
|
422
|
-
│ ├── usefy/ # All-in-one package
|
|
423
|
-
│ ├── use-toggle/ # Boolean state
|
|
424
|
-
│ ├── use-counter/ # Counter state
|
|
425
|
-
│ ├── use-debounce/ # Value debouncing
|
|
426
|
-
│ ├── use-debounce-callback/ # Callback debouncing
|
|
427
|
-
│ ├── use-throttle/ # Value throttling
|
|
428
|
-
│ ├── use-throttle-callback/ # Callback throttling
|
|
429
|
-
│ ├── use-local-storage/ # localStorage
|
|
430
|
-
│ ├── use-session-storage/ # sessionStorage
|
|
431
|
-
│ ├── use-click-any-where/ # Click detection
|
|
432
|
-
│ └── use-copy-to-clipboard/ # Clipboard
|
|
433
|
-
└── ...
|
|
434
|
-
```
|
|
435
|
-
|
|
436
|
-
---
|
|
437
|
-
|
|
438
395
|
## Related Links
|
|
439
396
|
|
|
440
397
|
- 📦 [npm Organization](https://www.npmjs.com/org/usefy)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefy/usefy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "A collection of useful React hooks",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
],
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@usefy/use-click-any-where": "0.0.
|
|
21
|
-
"@usefy/use-copy-to-clipboard": "0.0.
|
|
22
|
-
"@usefy/use-
|
|
23
|
-
"@usefy/use-
|
|
24
|
-
"@usefy/use-debounce
|
|
25
|
-
"@usefy/use-debounce": "0.0.
|
|
26
|
-
"@usefy/use-throttle": "0.0.
|
|
27
|
-
"@usefy/use-
|
|
28
|
-
"@usefy/use-
|
|
29
|
-
"@usefy/use-
|
|
20
|
+
"@usefy/use-click-any-where": "0.0.14",
|
|
21
|
+
"@usefy/use-copy-to-clipboard": "0.0.14",
|
|
22
|
+
"@usefy/use-toggle": "0.0.14",
|
|
23
|
+
"@usefy/use-counter": "0.0.14",
|
|
24
|
+
"@usefy/use-debounce": "0.0.14",
|
|
25
|
+
"@usefy/use-debounce-callback": "0.0.14",
|
|
26
|
+
"@usefy/use-throttle": "0.0.14",
|
|
27
|
+
"@usefy/use-local-storage": "0.0.14",
|
|
28
|
+
"@usefy/use-throttle-callback": "0.0.14",
|
|
29
|
+
"@usefy/use-session-storage": "0.0.14"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^18.0.0 || ^19.0.0"
|