kontroll 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +8 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,6 +11,7 @@
11
11
  ## Features
12
12
  - **100% coverage!**
13
13
  - **Self-explained**: for real, every functions and options have TSDoc comments to explain their behavior plus examples at a **hover** *(based on your IDE)*, apart from the already intuitive logic path.
14
+ - [![jsDocs.io][jsDocs-src]][jsDocs-href]
14
15
  - **Clearable**: you can stop pending timers by calling the returned clearer function or use the `clear(key)` function.
15
16
  - **Promise aware**: avoid duplicated call if your promise haven't settled.
16
17
 
@@ -79,13 +80,15 @@ In you wish them to have the same timer, you can manually set `options.key` like
79
80
 
80
81
  <!-- Badges -->
81
82
 
82
- [npm-version-src]: https://img.shields.io/npm/v/kontroll?style=flat&colorA=18181B&colorB=F0DB4F
83
+ [npm-version-src]: https://img.shields.io/npm/v/kontroll?labelColor=18181B&color=F0DB4F
83
84
  [npm-version-href]: https://npmjs.com/package/kontroll
84
- [npm-downloads-src]: https://img.shields.io/npm/dm/kontroll?style=flat&colorA=18181B&colorB=F0DB4F
85
+ [npm-downloads-src]: https://img.shields.io/npm/dm/kontroll?labelColor=18181B&color=F0DB4F
85
86
  [npm-downloads-href]: https://npmjs.com/package/kontroll
86
- [codecov-src]: https://img.shields.io/codecov/c/gh/namesmt/kontroll/main?style=flat&colorA=18181B&colorB=F0DB4F
87
+ [codecov-src]: https://img.shields.io/codecov/c/gh/namesmt/kontroll/main?labelColor=18181B&color=F0DB4F
87
88
  [codecov-href]: https://codecov.io/gh/namesmt/kontroll
88
- [license-src]: https://img.shields.io/github/license/namesmt/kontroll.svg?style=flat&colorA=18181B&colorB=F0DB4F
89
+ [license-src]: https://img.shields.io/github/license/namesmt/kontroll.svg?labelColor=18181B&color=F0DB4F
89
90
  [license-href]: https://github.com/namesmt/kontroll/blob/main/LICENSE
90
- [bundlejs-src]: https://deno.bundlejs.com/badge?q=kontroll&colorA=18181B&colorB=F0DB4F
91
+ [bundlejs-src]: https://img.shields.io/bundlejs/size/kontroll?labelColor=18181B&color=F0DB4F
91
92
  [bundlejs-href]: https://bundlejs.com/?q=kontroll
93
+ [jsDocs-src]: https://img.shields.io/badge/Check_out-jsDocs.io---?labelColor=18181B&color=F0DB4F
94
+ [jsDocs-href]: https://www.jsdocs.io/package/kontroll
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kontroll",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "packageManager": "pnpm@8.12.0",
6
6
  "description": "kontroll (\"control\") is a tiny, dead-simple package for function behavior controls like debounce, countdown, throttle (limit).",
7
7
  "author": "NamesMT <dangquoctrung123@gmail.com>",