conv.

All stories
TechQuiet 3d · day 3

Developer releases Jev-Leftpad, an API-based string padding library

A humorous npm package that uses an AI model to add spaces to strings instead of JavaScript's built-in padStart() method.

What to know

  • Jev-leftpad is a deliberately impractical npm package that replaces a simple one-line JavaScript function (padStart) with an API call to an AI model.
  • The package calls TypeSafe's Jev model for each padding operation, making it slower, more expensive, and more failure-prone than native code.
  • The project gained 225 upvotes and 82 comments on Hacker News within hours, suggesting developers found it entertaining or noteworthy despite its lack of practical utility.

fka jev-leftpad developer

Developer releases Jev-Leftpad, an API-based string padding library
github.com

How it unfolded 1 development · click the chart to see its coverage articlesposts

Peak 4 pieces in one hour at Sep 21, 5 AM; 15 pieces over 3 days (2 articles · 3 posts · 10 comments) Sep 21, 3 AM — 3 pieces · 2 articles · 1 post — Newswires 2, Hacker News 1Sep 21, 4 AM — quietSep 21, 5 AM — 4 pieces · 1 post · 3 comments — Hacker News 3, Mastodon 1Sep 21, 6 AM — 3 pieces · 3 comments — Hacker News 3Sep 21, 7 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 8 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 9 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 10 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 11 AM — 1 piece · 1 post — Mastodon 1Sep 21, 12 PM — quietSep 21, 1 PM — quietSep 21, 2 PM — quietSep 21, 3 PM — quietSep 21, 4 PM — quietSep 21, 5 PM — quietSep 21, 6 PM — quietSep 21, 7 PM — quietSep 21, 8 PM — quietSep 21, 9 PM — quietSep 21, 10 PM — quietSep 21, 11 PM — quietSep 22, 12 AM — quietSep 22, 1 AM — quietSep 22, 2 AM — quietSep 22, 3 AM — quietSep 22, 4 AM — quietSep 22, 5 AM — quietSep 22, 6 AM — quietSep 22, 7 AM — quietSep 22, 8 AM — quietSep 22, 9 AM — quietSep 22, 10 AM — quietSep 22, 11 AM — quietSep 22, 12 PM — quietSep 22, 1 PM — quietSep 22, 2 PM — quietSep 22, 3 PM — quietSep 22, 4 PM — quietSep 22, 5 PM — quietSep 22, 6 PM — quietSep 22, 7 PM — quietSep 22, 8 PM — quietSep 22, 9 PM — quietSep 22, 10 PM — quietSep 22, 11 PM — quietYesterday, 12 AM — quietYesterday, 1 AM — quietYesterday, 2 AM — quietYesterday, 3 AM — quietYesterday, 4 AM — quietYesterday, 5 AM — quietYesterday, 6 AM — quietYesterday, 7 AM — quietYesterday, 8 AM — quietYesterday, 9 AM — quietYesterday, 10 AM — quietYesterday, 11 AM — quietYesterday, 12 PM — quietYesterday, 1 PM — quietYesterday, 2 PM — quietYesterday, 3 PM — quietYesterday, 4 PM — quietYesterday, 5 PM — quietYesterday, 6 PM — quietYesterday, 7 PM — quietYesterday, 8 PM — quietYesterday, 9 PM — quietYesterday, 10 PM — quietYesterday, 11 PM — quietToday, 12 AM — quietToday, 1 AM — quietToday, 2 AM — quietToday, 3 AM — quietToday, 4 AM — quietToday, 5 AM — quietToday, 6 AM — quietToday, 7 AM — quietToday, 8 AM — quiet 1
Sep 22yesterdaynow · 9:44 AM ET
  1. 1

    Jev-Leftpad gains traction on Hacker News

    The project rose to Hacker News frontpage with 225 points and 82 comments within hours of release, attracting developer interest despite the author's warnings about inefficiency and cost.

    “Could this be one line with padStart() ? Yes. Does it need a model call? No. Anyway:…”
    — fka, jev-leftpad developer · source
    1. 2 outlets Jev-Leftpad

      first by HN Best, 3d ago · also HN Frontpage

    • > its confidence scoresimportant to note that the "confidence" score is... maybe not what people think it is - kind of useless, and just a convenience step from the probabilities.from the docs: "confidence is a statistic computed from the probability distribution the answer already gives you." [0] I actually encourage people to visit the docs…

      preommrHacker News3d agoview on Hacker News ↗
    2 more of the top 3 · 12 posts in this stretch
    • hkrn@mstdn.social

      Jev-Leftpad L: https:// github.com/f/jev-leftpad C: https:// news.ycombinator.com/item?id=4 9784706 posted on 2026.09.21 at 04:39:32 (c=0, p=3)

      hkrn@mstdn.socialMastodon3d agoview on Mastodon ↗
    • I have to be honest. While this is obviously a smart and useful idea, it misses one of the core features of Jev: its confidence scores. Partial confidence could easily be mapped to fractional spaces, using unicode characters like U+2009: THIN SPACE. As it stands, this package is not harnessing the full power of Jev.

      sethaurusHacker News3d agoview on Hacker News ↗
    all of them →
  2. background

    Developer releases jev-leftpad on GitHub — A developer published jev-leftpad, a Node.js package that uses TypeSafe's Jev AI model to add between 0 and 10 spaces to strings. The package requires setting a TYPESAFE_API_KEY, makes one API call per invocation, and explicitly warns against production use.

What people are saying 7 voices from 2 sites · best of 12 · verbatim