yetanotherpad

1.0.2 • Public • Published

Usage

let pad = require("yetanotherpad")

function test(){
    [
        pad.left("hello", 10, '-');      // -----hello
        pad.right("hello", 10, '-');     // hello-----
        pad.left('test', 10, '1234');    // 111111test
        pad.right('test', 10, '1234');   // test111111
    ]
    .forEach((x)=>console.log(x))
}    

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i yetanotherpad

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

1.51 kB

Total Files

4

Last publish

Collaborators

  • rozemyne