Ross ROSS = Recommend OSS · open-source software intelligence for agents

scopsy/await-to-js

Async await wrapper for easy error handling without try-catch observed · 2026-08-28

github.com/scopsy/await-to-js · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3544
  • days_rel: n/a
  • days_push: 938
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3357 stars · 154 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

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.

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

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

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

Facets

library · maturity stable

error-handling concurrency developer-tools web-development backend cross-platform async-await try-catch es2017 promise error-handling utility nodejs javascript typescript

2 sources

Member repositories

RepositoryRoleHealth v2
scopsy/await-to-jsmain32

For agents

markdown · JSON · MCP: product_card(name="scopsy/await-to-js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem