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

alexei/sprintf.js

sprintf.js is a complete open source JavaScript sprintf implementation observed · 2026-08-28

github.com/alexei/sprintf.js · JavaScript · BSD-3-Clause (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: 4901
  • days_rel: n/a
  • days_push: 881
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2139 stars · 283 forks observed · 2026-08-28

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

sprintf.js is a complete open source JavaScript implementation of the classic sprintf string formatting function, usable in both the browser and Node.js. It supports argument indexing, padding, alignment, precision, and other printf-style format specifiers via sprintf and vsprintf APIs.

Use cases

  • format strings with printf-style placeholders in javascript
  • sprintf implementation for node.js
  • format numbers with padding and precision in the browser
  • interpolate arguments into a format string by position
  • vsprintf formatting from an array of arguments

When to choose

  • you need C-style sprintf formatting in JavaScript
  • you want a small, dependency-free formatting library for browser or Node.js
  • you need argument swapping, padding, alignment, or precision specifiers

When to avoid

  • you only need simple template literals or string interpolation
  • you need locale-aware number or date formatting (use Intl instead)
  • you target very old environments without polyfills

Facets

library · maturity stable

serialization developer-tools developer-tools web-development frontend browser cross-platform string-formatting sprintf printf formatting javascript nodejs

1 source

Member repositories

RepositoryRoleHealth v2
alexei/sprintf.jsmain32

For agents

markdown · JSON · MCP: product_card(name="alexei/sprintf.js")

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