{"adoption": {"forks": 296, "observed_at": "2026-08-28T04:05:55.249227+00:00", "stars": 1921}, "canonical_url": "https://ross.abutalabs.com/products/tweetnacl-js", "card": {"archived": false, "artifact_type": "library", "description": "Port of TweetNaCl cryptographic library to JavaScript", "domain": ["security", "developer-tools", "web-development"], "enriched": true, "function": ["cryptography", "auth", "serialization"], "health_score": 42, "homepage": "https://tweetnacl.js.org", "language": "JavaScript", "license": "Unlicense", "license_family": "permissive", "maturity": "stable", "member_repos": ["dchest/tweetnacl-js"], "name": "dchest/tweetnacl-js", "platform": ["browser", "cross-platform"], "pushed_at": "2025-08-15T11:43:43+00:00", "repo": "dchest/tweetnacl-js", "stars": 1921, "tags": ["tweetnacl", "nacl", "libsodium", "ed25519", "curve25519", "salsa20", "poly1305", "sha-512", "secretbox", "public-key-cryptography", "authenticated-encryption", "signatures", "audited", "javascript", "nodejs"], "topics": ["crypto", "javascript", "authentication", "signature", "elliptic-curves", "secretbox", "djb", "salsa20", "curve25519", "eddsa", "sha-512", "tweetnacl", "nacl", "libsodium", "ed25519"], "urls": [], "use_cases": ["encrypt and decrypt messages with a shared secret key in JavaScript", "implement public-key authenticated encryption with Curve25519 in the browser", "sign and verify messages with Ed25519 signatures in Node.js", "hash data with SHA-512 in a web app", "generate cryptographically secure random bytes in JavaScript", "perform constant-time comparison of secrets to avoid timing attacks", "add compact crypto to a browser extension or client-side app"], "what_it_is": "TweetNaCl.js is a JavaScript port of the TweetNaCl/NaCl cryptographic library, providing high-level APIs for secret-key and public-key authenticated encryption, Ed25519 signatures, SHA-512 hashing, and random byte generation in a compact 7 KB package. It works in modern browsers and Node.js, is public domain, and has been security-audited by Cure53.", "when_to_avoid": ["you can use the WebCrypto API, which covers X25519, Ed25519, and SHA-512 natively", "you need a full security protocol or key-committing encryption, since this is a low-level primitive library", "you need XSalsa20-Poly1305 with post-quantum or key-commitment guarantees", "you need high-performance crypto where native implementations are available"], "when_to_choose": ["you need a small, audited, dependency-free crypto library for browser or Node.js", "you need NaCl-compatible primitives like secretbox, box, or Ed25519 in JavaScript", "you want a public-domain license with no licensing restrictions", "you need a faithful port of TweetNaCl with a thin idiomatic API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tweetnacl-js", "repo": "dchest/tweetnacl-js", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "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:05:55.249227+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:55.249227+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:09:41.872634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7928051fb8f7f8114a72630126c31def90880064fb3c9e90742a6aeecf83d601", "fetched_at": "2026-08-28T04:05:55.249227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dchest/tweetnacl-js"}, {"content_hash": "c29b136474e8b3fdc78d746c3f61dc54a83f6333ab334a4f1cd7a896efd17c3f", "fetched_at": "2026-08-29T10:49:21.740917+00:00", "kind": "homepage", "missing": false, "url": "https://tweetnacl.js.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 37, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4623, "days_push": 383, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}