#source-map #generate #parser #string-parser #magic-string #string-manipulating

kilo

Kilo is a small, fast utility crate/library for manipulating strings and generating sourcemaps with all in Magic ๐Ÿช„

1 unstable release

0.1.0 Sep 21, 2024

#108 in Parser tooling

Download history 183/week @ 2024-09-20 19/week @ 2024-09-27 4/week @ 2024-10-04

206 downloads per month

MIT license

7KB
106 lines

Kilo ๐Ÿงต๐Ÿช„

Kilo is a small, fast utility crate/library for manipulating strings and generating sourcemaps with all in Magic ๐Ÿช„

Features

  • insert
  • remove
  • replace
  • last_char
  • to_string
  • prepend
  • append
  • addSourcemapLocation
  • clone
  • generateDecodedMap
  • generateMap
  • getIndentString
  • move
  • prepend
  • prependLeft
  • prependRight
  • lastLine
  • slice
  • isEmpty
  • length
  • trimLines
  • trim
  • trimEndAborted
  • trimEnd
  • trimStartAborted
  • trimStart
  • hasChanged
  • replace
  • replaceAll

No runtime deps