Hacker News
Jev-Leftpad
Jev-leftpad is a Node.js 20+ library that pads a string to a target length by requesting a single TypeSafe API call. It returns a string with 0–10 leading spaces, choosing the appropriate “space_n” option; if the target length exceeds 10 spaces, no correct option exists. The package is MIT-licensed and is not recommended for production use.