{"adoption": {"forks": 62, "observed_at": "2026-08-28T04:04:07.142601+00:00", "stars": 1246}, "canonical_url": "https://ross.abutalabs.com/products/astring", "card": {"archived": false, "artifact_type": "library", "description": "🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.", "domain": ["parsers", "programming-languages", "developer-tools"], "enriched": true, "function": ["parser", "compiler", "developer-tools"], "health_score": 28, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["davidbonnet/astring"], "name": "davidbonnet/astring", "platform": ["browser", "cross-platform"], "pushed_at": "2024-12-01T12:16:56+00:00", "repo": "davidbonnet/astring", "stars": 1246, "tags": ["estree", "ast", "codegen", "javascript", "source-maps", "zero-dependency", "nodejs", "deno"], "topics": ["code-generator", "javascript", "ast", "estree", "codegen"], "urls": [], "use_cases": ["generate JavaScript code from an AST", "print an ESTree AST back to source code", "build a custom JavaScript transpiler or codemod", "regenerate code after AST transformations", "fast codegen alternative to Babel or Escodegen", "generate source maps for generated JavaScript"], "what_it_is": "Astring is a tiny, fast, dependency-free JavaScript code generator that produces JavaScript source code from ESTree-compliant ASTs. It supports modern ECMAScript up to ES2024 and stage 3 proposals, with optional source map and comment generation.", "when_to_avoid": ["you need formatted or style-preserving output like Prettier", "you need to parse JavaScript rather than generate it", "you need to generate code for other languages"], "when_to_choose": ["you need a small, fast, dependency-free code generator for ESTree ASTs", "you are building a transpiler, minifier, or codemod tool on top of Acorn or Meriyah", "performance matters more than pretty-printed formatting"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/astring", "repo": "davidbonnet/astring", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "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:07.142601+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:07.142601+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:08:02.759277+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97fa3fc39f591697dc5637f27b5238840ae837823ed31581ccb98aa98752d5e7", "fetched_at": "2026-08-28T04:04:07.142601+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidbonnet/astring"}, {"content_hash": "2d59de3328ee5da94f4f26b88281ca983435d373c67123200df1796417e97899", "fetched_at": "2026-08-29T12:19:28.498703+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/astring"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 4048, "days_push": 640, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}