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

left-pad/left-pad

:arrow_left: String left pad -- deprecated, use String​.prototype​.pad​Start() observed · 2026-08-28

github.com/left-pad/left-pad · JavaScript · MIT (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases archived

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: 4555
  • days_rel: n/a
  • days_push: 2693
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1305 stars · 140 forks observed · 2026-08-28

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

A tiny JavaScript utility for left-padding strings to a given length, famous from the 2016 npm ecosystem incident. It is deprecated since native String.prototype.padStart covers the same functionality.

Use cases

  • pad strings with leading characters in old Node.js versions
  • zero-pad numbers like IDs or dates
  • align text output in CLI tools
  • maintain legacy code that depends on left-pad

When to choose

  • you are on a very old JavaScript environment without String.prototype.padStart
  • you must keep an existing dependency working in legacy code

When to avoid

  • starting any new project - use the built-in String.prototype.padStart instead
  • you need Unicode-aware padding beyond the BMP plane

Facets

library · maturity abandoned

serialization developer-tools programming-languages string-manipulation padding deprecated npm nodejs javascript

1 source

Member repositories

RepositoryRoleHealth v2
left-pad/left-padmain10

For agents

markdown · JSON · MCP: product_card(name="left-pad/left-pad")

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