{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:07:46.080125+00:00", "stars": 3148}, "canonical_url": "https://ross.abutalabs.com/products/use-sound", "card": {"archived": false, "artifact_type": "library", "description": "A React Hook for playing sound effects", "domain": ["web-development", "frontend"], "enriched": true, "function": ["audio-processing", "ui-components"], "health_score": 47, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["joshwcomeau/use-sound"], "name": "joshwcomeau/use-sound", "platform": ["browser"], "pushed_at": "2025-06-10T15:41:12+00:00", "repo": "joshwcomeau/use-sound", "stars": 3148, "tags": ["react-hook", "sound-effects", "howlerjs", "audio-playback", "audio", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["play a sound effect when a button is clicked", "add audio feedback on hover", "play sound effects in a React app", "trigger UI sounds declaratively with a hook", "load audio files asynchronously in React"], "what_it_is": "use-sound is a small React hook for playing sound effects in web applications, built on top of Howler.js. It provides a declarative API for loading and triggering audio on interactions like clicks and hovers.", "when_to_avoid": ["you need advanced audio control like mixing, spatial audio, or complex playlists", "you're building a React Native app (use react-native-use-sound instead)", "you need active maintenance and support for edge cases"], "when_to_choose": ["you need simple, lightweight sound effects in a React DOM app", "you want a declarative hooks API for audio playback", "bundle size matters and you only need basic sound triggering"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/use-sound", "repo": "joshwcomeau/use-sound", "role": "main", "score": 34}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:46.080125+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:45:35.358753+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "138aabc78bd8f2b1d166d50e2916f673c02004d60eb56ca4323e97296d66542c", "fetched_at": "2026-08-28T04:07:46.080125+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwcomeau/use-sound"}, {"content_hash": "bd3c5cf0414e032235b275b2dc6f36533c8f86c5ac2ebc481490c2ab0c93f293", "fetched_at": "2026-08-29T09:40:48.399631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/use-sound"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 26, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2358, "days_push": 449, "days_rel": 561, "gap_med": null, "n_releases_24m": 1}, "score": 34, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}