@chonla/stringformat
v1.0.1
Published
String formatter.
Downloads
8
Readme
String Format
String formatter.
Usage
const Format = require('@chonla/stringformat')
const fmt = new Format()
console.log(fmt.format('1234567890', '3-3-4')) // output 123-456-7890
console.log(fmt.format('1234567890', '3-3/4')) // output 123-456/7890