browser-haptic 1.0.2 → 1.0.3
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 +12 -2
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -4,8 +4,18 @@ Lightweight haptic feedback for JavaScript. This repo uses **Bun**. Uses the [Vi
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
+
From npm (use your package manager):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install browser-haptic
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm add browser-haptic
|
|
15
|
+
```
|
|
16
|
+
|
|
7
17
|
```bash
|
|
8
|
-
|
|
18
|
+
yarn add browser-haptic
|
|
9
19
|
```
|
|
10
20
|
|
|
11
21
|
## Usage
|
|
@@ -71,4 +81,4 @@ For bugs or feature ideas, please open an issue first so we can discuss.
|
|
|
71
81
|
|
|
72
82
|
## License
|
|
73
83
|
|
|
74
|
-
MIT Copyright (c)
|
|
84
|
+
MIT Copyright (c) 2026 Emirhan Kemal Kosem
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browser-haptic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Lightweight haptic feedback for JS (Vibration API + iOS Safari switch fallback). No deps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,6 +40,19 @@
|
|
|
40
40
|
"vibration-api"
|
|
41
41
|
],
|
|
42
42
|
"license": "MIT",
|
|
43
|
+
"author": {
|
|
44
|
+
"name": "Emirhan Kemal Kosem",
|
|
45
|
+
"email": "emirhankemalkosem@gmail.com",
|
|
46
|
+
"url": "https://github.com/KemalEmirhan"
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/KemalEmirhan/browser-haptic.git"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/KemalEmirhan/browser-haptic#readme",
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/KemalEmirhan/browser-haptic/issues"
|
|
55
|
+
},
|
|
43
56
|
"engines": {
|
|
44
57
|
"node": ">=18"
|
|
45
58
|
},
|