@full-pack/string-builder
v1.0.0
Published
A lightweight and versatile String Builder Class for Node.js & Browser.
Downloads
39
Maintainers
Readme
@full-pack/string-builder
A lightweight and versatile String Utility Package for Node.js & Browser.
Installation
npm install @full-pack/string-builder
require
const { ... } = require('@full-pack/string-builder');
import
import { ... } from '@full-pack/string-builder';
APIs
Class
- string-builder
Data Members
- capacity: number
- length: number
Methods
- 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
Build
npm run build
License
The MIT License. Full License is here