detect-indent
Detect the indentation of code
Detect the indentation of code
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Modify strings, generate sourcemaps
Truncate a string to a specific width in the terminal
Convert a string to a valid safe filename
Convert a value to a ReadableStream
Get the shortest leading whitespace from lines in a string
Strip a substring from the start/end of a string
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
a few common utility template tags for ES2015
ES2019 spec-compliant String.prototype.trimLeft shim.
ES2019 spec-compliant String.prototype.trimLeft shim.
Check if a character is alphabetical
Check if a character is decimal
Convert object keys from camel case
Check if a character is alphanumerical
Check if a character is hexadecimal
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Simple micro templating
Similar to `String#trim()` but removes only whitespace on the right