{"adoption": {"forks": 204, "observed_at": "2026-08-28T04:08:41.368104+00:00", "stars": 4288}, "canonical_url": "https://ross.abutalabs.com/products/hashidsjs", "card": {"archived": false, "artifact_type": "library", "description": "A small JavaScript library to generate YouTube-like ids from numbers.", "domain": ["developer-tools", "web-development", "databases"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 61, "homepage": "https://hashids.org/javascript", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["niieani/hashids.js"], "name": "niieani/hashids.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-02-12T14:52:52+00:00", "repo": "niieani/hashids.js", "stars": 4288, "tags": ["hashids", "id-generation", "obfuscation", "url-safe-ids", "typescript", "npm-package", "nodejs", "javascript"], "topics": ["hashids", "javascript", "database-ids", "ids", "hash", "encoding", "npm-package", "node", "hacktoberfest"], "urls": [], "use_cases": ["hide database ids in urls", "generate youtube-like short ids from numbers", "encode multiple numbers into one short id", "create url-safe product or event ids", "generate confirmation codes for emails", "obfuscate primary keys in a web app"], "what_it_is": "Hashids is a small JavaScript/TypeScript library that generates YouTube-like short, reversible IDs from numbers, so database primary keys aren't exposed to users. It supports encoding multiple numbers into one ID, custom alphabets, salts, and minimum ID lengths, and works in browsers, Node.js, and TypeScript environments.", "when_to_avoid": ["you need security or encryption - hashids are trivially decodable and not hashes", "you want to hide user counts from ids", "you are starting a new project and prefer its successor, Sqids"], "when_to_choose": ["you want reversible, random-looking ids from integers without exposing row counts or primary keys", "you need a tiny dependency-free library that works in browser, node, and typescript", "you need to encode several numbers into a single id and decode them back"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/hashidsjs", "repo": "niieani/hashids.js", "role": "main", "score": 53}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "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:08:41.368104+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.368104+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:55.533789+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ce1cb1b904941de5e6e2237a7bae6d767813ec5dd5513652e376b8f8cd0a380f", "fetched_at": "2026-08-28T04:08:41.368104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/niieani/hashids.js"}, {"content_hash": "5ff071fedafb5cbf2f6a69fad32d5f310d49046a3f2f13d4e88d8639bf6846c2", "fetched_at": "2026-08-29T09:11:30.564874+00:00", "kind": "homepage", "missing": false, "url": "https://hashids.org/javascript"}, {"content_hash": "e604ee26ebd8a6d957b49d080f8e3b2d48bd16067eb72c8265a032aadeeff7f6", "fetched_at": "2026-08-29T09:11:30.574465+00:00", "kind": "site_page", "missing": false, "url": "https://sqids.org/faq"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 67, "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": 5135, "days_push": 202, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 53, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}