kontroll 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +21 -2
  2. package/package.json +3 -7
package/README.md CHANGED
@@ -1,6 +1,12 @@
1
- # kontroll [![NPM version](https://img.shields.io/npm/v/kontroll?color=a1b858&label=)](https://www.npmjs.com/package/kontroll)
1
+ # kontroll ![TypeScript](https://img.shields.io/badge/♡-%23007ACC.svg?logo=typescript&logoColor=white)
2
2
 
3
- **kontroll** ("control") is a small, dead-simple package for function behavior controls like debounce, countdown, throttle (limit).
3
+ [![npm version][npm-version-src]][npm-version-href]
4
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
5
+ [![Codecov][codecov-src]][codecov-href]
6
+ [![License][license-src]][license-href]
7
+ [![Bundlejs][bundlejs-src]][bundlejs-href]
8
+
9
+ **kontroll** ("control") is a tiny, dead-simple package for function behavior controls like debounce, countdown, throttle (limit).
4
10
 
5
11
  ## Features
6
12
  - **100% coverage!**
@@ -70,3 +76,16 @@ In you wish them to have the same timer, you can manually set `options.key` like
70
76
  ## License
71
77
 
72
78
  [MIT](./LICENSE) License © 2023 [NamesMT](https://github.com/NamesMT)
79
+
80
+ <!-- Badges -->
81
+
82
+ [npm-version-src]: https://img.shields.io/npm/v/kontroll?style=flat&colorA=18181B&colorB=F0DB4F
83
+ [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-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-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-href]: https://github.com/namesmt/kontroll/blob/main/LICENSE
90
+ [bundlejs-src]: https://deno.bundlejs.com/badge?q=kontroll@0.1.0&colorA=18181B&colorB=F0DB4F
91
+ [bundlejs-href]: https://bundlejs.com/?q=klona
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "kontroll",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "packageManager": "pnpm@8.12.0",
6
- "description": "",
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>",
8
8
  "license": "MIT",
9
9
  "funding": "https://github.com/sponsors/namesmt",
@@ -47,10 +47,6 @@
47
47
  "prepare": "simple-git-hooks",
48
48
  "prepublishOnly": "pnpm run build"
49
49
  },
50
- "dependencies": {
51
- "consola": "^3.2.3",
52
- "std-env": "^3.6.0"
53
- },
54
50
  "devDependencies": {
55
51
  "@antfu/eslint-config": "^2.4.4",
56
52
  "@types/node": "^20.10.4",
@@ -75,4 +71,4 @@
75
71
  "lint-staged": {
76
72
  "*": "eslint --fix"
77
73
  }
78
- }
74
+ }