Skip to content

uwla/justify.js

Repository files navigation

JUSTIFY.JS

Justify-align plain text using JavaScript.

Installation

Install it with npm or your preferred package manager:

npm install @uwlajs/justify

Usage

Sample usage:

import justify from '@uwlajs/justify';

const textToBeJustified = "...";
const justifiedText = justify(textToBeJustified);
console.log(justifiedText);

Contributing

Contributions are welcome. Feel free to open an issue or PR.

This project uses Conventional Commits. If you make a PR, make sure that your commit messages match this standard.

License

MIT.

About

JS library to justify-align plain text

Resources

Stars

Watchers

Forks

Packages

No packages published