@cangokceaslan/padding
v1.0.2
Published
Famous leftpad library for open source reasons
Downloads
11
Maintainers
Readme
@cangokceaslan/padding
@cangokceaslan/padding is a NodeJs library for dealing with text processing.
Installation
Use the package manager npm to install @cangokceaslan/padding.
npm install @cangokceaslan/padding
Usage
const padding = require("@cangokceaslan/padding").default;
const { leftpad } = padding;
console.log(leftpad("text", 14, " "));
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.