0.0.1 • Published 3 years ago
vtextpad v0.0.1
textpad
A Javascript Library for text padding
- By Himanshu Jangid
How to Use -
1. Install the package in you project
npm i textpad --save
2. Check our documentation
Click Here For Documentation
- Example 1 -
const input = 12
const ouput = textpad.leftpad(12, 3, '0')
console.log(output)
// output - 012
- Example 2 -
const input = 12
const ouput = textpad.rightpad(12, 3, 'A')
console.log(output)
// output - 12A
This Library one from the collection of libraries created by Vedik Devs in VCF
Thank You For Choosing Our Package - From VCF
0.0.1
3 years ago