#source-map #generate #string-parser #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

#163 in Parser tooling

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