User repository on GitHub
Left-pad strings with TypeSafe AI's Jev. For reasons.
- Forks
- 5
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
Jev directory
User repository on GitHub
Left-pad strings with TypeSafe AI's Jev. For reasons.
Repo stats from the GitHub API, cached Oct 2026.
Left pad a value with Jev. Could this be one line with padStart()? Yes. Does it need a model call? No. Anyway: Set TYPESAFEAPIKEY before using it. jev-leftpad uses jev-latest through TypeSafe's native @typesafe-ai/sdk. It requires Node.js 20 or newer. targetLength must be a non-negative safe integer.
Quoted from the project's README. Read the full README.
import leftPad from 'jev-leftpad';
const result = await leftPad('jev', 8);
console.log(JSON.stringify(result));Watch out
MIT-licensed. Needs Node.js 20+ and TYPESAFE_API_KEY, makes a paid API request per call, and is explicitly a joke package.
Short answers drawn from the linked project or page.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.