{"adoption": {"forks": 50, "observed_at": "2026-08-28T04:04:12.248262+00:00", "stars": 1272}, "canonical_url": "https://ross.abutalabs.com/products/shift-js", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Swift to JavaScript transpiler", "domain": ["compilers", "programming-languages", "parsers", "developer-tools", "web-development"], "enriched": true, "function": ["compiler", "parser", "cli", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["shift-js/shift-js"], "name": "shift-js/shift-js", "platform": ["cli", "cross-platform"], "pushed_at": "2023-06-17T23:20:38+00:00", "repo": "shift-js/shift-js", "stars": 1272, "tags": ["transpiler", "swift", "javascript", "source-to-source-compiler", "ast", "lexer", "nodejs"], "topics": [], "urls": [], "use_cases": ["transpile swift code to javascript", "convert a .swift file into a runnable js file", "reuse swift logic in a web browser", "watch a swift file and re-transpile on save", "learn how transpilers work via lexer and parser architecture"], "what_it_is": "Shift.JS is a Swift-to-JavaScript transpiler built in JavaScript, with a lexer, parser, and AST-based code generation via Escodegen. It ships as an npm-installable CLI that converts Swift files to JavaScript and can watch files for changes.", "when_to_avoid": ["you need full Swift language or standard library support", "you need actively maintained tooling with a license and recent development", "you need iOS/native Swift compilation rather than transpilation"], "when_to_choose": ["you have simple Swift code (data types, control flow, functions) you want to run as JavaScript", "you want an npm-based CLI for Swift-to-JS conversion", "you want to study or extend a transpiler codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/shift-js", "repo": "shift-js/shift-js", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "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:04:12.248262+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:12.248262+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:03:18.625193+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2aa5be33980170ccda2149a41ce5aaf915900965758870a8560a45e174022928", "fetched_at": "2026-08-28T04:04:12.248262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shift-js/shift-js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3977, "days_push": 1173, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}