{"adoption": {"forks": 154, "observed_at": "2026-08-28T04:07:57.977246+00:00", "stars": 3357}, "canonical_url": "https://ross.abutalabs.com/products/await-to-js", "card": {"archived": false, "artifact_type": "library", "description": "Async await wrapper for easy error handling without try-catch", "domain": ["developer-tools", "web-development", "backend"], "enriched": true, "function": ["error-handling", "concurrency"], "health_score": 20, "homepage": "http://blog.grossman.io/how-to-write-async-await-without-try-catch-blocks-in-javascript/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["scopsy/await-to-js"], "name": "scopsy/await-to-js", "platform": ["cross-platform"], "pushed_at": "2024-02-07T06:14:12+00:00", "repo": "scopsy/await-to-js", "stars": 3357, "tags": ["async-await", "try-catch", "es2017", "promise", "error-handling", "utility", "nodejs", "javascript", "typescript"], "topics": ["async", "async-await", "es2017", "try-catch"], "urls": [], "use_cases": ["handle async errors without try-catch", "avoid try-catch boilerplate in async functions", "get error and result from a promise as a tuple", "write cleaner async/await error handling in node", "use go-style error handling in javascript", "type-safe promise error handling in typescript"], "what_it_is": "await-to-js is a tiny TypeScript utility library that wraps promises in an async/await-friendly helper, returning [error, data] tuples instead of throwing. It lets developers handle async errors without try-catch blocks.", "when_to_avoid": ["you prefer standard try-catch semantics or need stack traces preserved exactly", "your codebase relies on thrown errors propagating through middleware", "you need promise cancellation or advanced async control flow"], "when_to_choose": ["you write lots of async/await code and dislike nested try-catch blocks", "you want a tiny, zero-dependency, typed utility for promise error handling", "you prefer Go-style [err, value] patterns in JavaScript or TypeScript"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/await-to-js", "repo": "scopsy/await-to-js", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-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:07:57.977246+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.977246+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:40:54.917646+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f77666aff85a23ce689e5109d4774b528e17200a0031eac11bd1ce7c7f720b3d", "fetched_at": "2026-08-28T04:07:57.977246+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scopsy/await-to-js"}, {"content_hash": "dd3db9460e647c643da3efc6047f94454837e3076d06fa72d9d0b6363de882e7", "fetched_at": "2026-08-29T09:34:03.143307+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/await-to-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"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3544, "days_push": 938, "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}}