vtextpad

    0.0.1 • Public • Published

    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

    Install

    npm i vtextpad

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    4.22 kB

    Total Files

    4

    Last publish

    Collaborators

    • himanshurajora