# Left-pad with TypeSafe AI

> Jev-leftpad adds spaces to strings using TypeSafe AI.
- Title: Left-pad with TypeSafe AI · GitHub | Shortify
- Summary: Jev-leftpad adds spaces to strings using TypeSafe AI. Jev-leftpad pads strings with up to 10 spaces via TypeSafe AI's API.
- Keywords: jev-leftpad, typesafe ai, padstart, node js, api key, npm, technology, startups, Left-pad, TypeSafe, GitHub
- Source: GitHub — https://github.com/f/jev-leftpad
- Read time: 1 min
- Topics: jev-leftpad, typesafe ai, padstart, node js, api key, npm, technology, startups
## What is jev-leftpad
Jev-leftpad pads strings with spaces.
## How it works
Uses padStart() but requires TypeSafe API.
## Example code
leftPad('jev', 8) returns ' jev'.
## API limits
Max 10 spaces per call, no retries.
## Why use it
Adds spaces via TypeSafe AI's Jev model.
## What happens next
Not for production use due to API costs.
## Key takeaway

Jev-leftpad pads strings with up to 10 spaces via TypeSafe AI's API.