Skip to content

jigjoy-ai/baro-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baro-sample

A tiny TypeScript utility library used as baro's one-click sample project.

It has a handful of small, pure functions in src/ — and no tests yet. That's on purpose: it's what baro fills in when you click Try a sample run.

Functions

  • slugify(input) — URL-friendly slug
  • truncate(input, max) — truncate with an ellipsis
  • titleCase(input) — capitalize each word
  • clamp(value, min, max) — clamp to a range
  • formatBytes(bytes) — human-readable size

About

A tiny TypeScript utility library — baro's one-click sample project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors