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

sindresorhus/pify

Promisify a callback-style function observed · 2026-08-28

github.com/sindresorhus/pify · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

65/100

  • Activity 94
  • Release rhythm 8
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 4022
  • days_rel: n/a
  • days_push: 41
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1503 stars · 73 forks observed · 2026-08-28

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

A small JavaScript library that converts callback-style functions or entire modules into Promise-based APIs. It offers options like multiArgs, include/exclude method filtering, and errorFirst handling.

Use cases

  • promisify a callback-style function
  • convert fs.readFile to use async/await
  • wrap an entire module's methods in promises
  • promisify APIs where the error is not the first callback argument
  • return multiple callback arguments as an array
  • exclude Sync methods when promisifying a module

When to choose

  • you need to promisify whole modules or objects, not just single functions
  • you need options like multiArgs, include/exclude, or errorFirst
  • you want a faster, more flexible alternative to util.promisify
  • you're on an older Node.js version without util.promisify

When to avoid

  • you're on modern Node.js and util.promisify meets your needs
  • the target API already returns promises
  • you need promise cancellation or advanced control-flow features

Facets

library · maturity stable

concurrency developer-tools developer-tools programming-languages promisify promises callbacks async-await utility nodejs deno javascript

2 sources

Member repositories

RepositoryRoleHealth v2
sindresorhus/pifymain65

For agents

markdown · JSON · MCP: product_card(name="sindresorhus/pify")

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