A lightweight and versatile String Utility Package for Node.js & Browser.
npm install @full-pack/string-builder
const { ... } = require('@full-pack/string-builder');
import { ... } from '@full-pack/string-builder';
- string-builder
- capacity: number
- length: number
- insert
- append
- prepend
- appendNewLine
- prependNewLine
- appendSpace
- prependSpace
- appendArray
- prependArray
- appendJSON
- prependJSON
- appendCodePoint
- prependCodePoint
- replaceSubstring
- setString
- getString
- indexOf
- lastIndexOf
- setChar
- substring
- trim
- clear
- reset
- clone
- isFull
- isEmpty
Full documentation here
npm run build
The MIT License. Full License is here