clicktone
Version:
ClickTone is a lightweight helper for UI sound feedback. It wraps the Web Audio API, giving you instant click‑sounds with volume control, throttling, callbacks, and an iOS resume workaround.
82 lines (81 loc) • 2.05 kB
JSON
{
"name": "clicktone",
"version": "1.8.0",
"description": "ClickTone is a lightweight helper for UI sound feedback. It wraps the Web Audio API, giving you instant click‑sounds with volume control, throttling, callbacks, and an iOS resume workaround.",
"author": "ux-ui.pro",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ux-ui-pro/clicktone.git"
},
"bugs": {
"url": "https://github.com/ux-ui-pro/clicktone/issues"
},
"homepage": "https://github.com/ux-ui-pro/clicktone",
"sideEffects": false,
"scripts": {
"clean": "rimraf dist",
"build": "vite build",
"lint:js": "eslint src/**/*.{ts,js}",
"lint:fix:js": "eslint src/**/*.{ts,js} --fix",
"format:js": "prettier --write src/**/*.{ts,js}",
"lint:fix": "yarn lint:fix:js && yarn format:js"
},
"source": "src/index.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"browser": "./dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js",
"default": "./dist/index.umd.js"
},
"./dist/*": "./dist/*"
},
"files": [
"dist/"
],
"devDependencies": {
"@eslint/js": "9.22.0",
"@rollup/plugin-terser": "0.4.4",
"@types/node": "22.13.10",
"@typescript-eslint/eslint-plugin": "8.26.0",
"@typescript-eslint/parser": "8.26.0",
"eslint": "9.22.0",
"eslint-config-prettier": "10.1.1",
"eslint-import-resolver-typescript": "3.8.3",
"eslint-plugin-import": "2.31.0",
"globals": "16.0.0",
"prettier": "3.5.3",
"rimraf": "6.0.1",
"typescript": "5.8.2",
"vite": "6.2.1",
"vite-plugin-dts": "4.5.3"
},
"keywords": [
"MP3",
"WAV",
"OGG",
"AAC",
"iOS",
"sound",
"audio",
"playback",
"mobile",
"click",
"tone",
"audioContext",
"webAudio",
"javascript",
"web",
"html5",
"media",
"music",
"effects",
"browser",
"webapp",
"frontend"
]
}