npm i @sevalkeles/padding
@sevalkeles/padding is a NodeJs library for dealing with text processing.
Installation
Use the package manager npm to install @sevalkeles/padding.
npm install @sevalkeles/padding
Usage
const padding = require("@sevalkeles/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.