center-text-cli

1.0.2 • Public • Published

license npm version

center-text-cli

An npm package that will center text for you!

Installation

  1. Install the package.
$ npm i -g center-text-cli
  1. Try it out!
$ ctxt text goes here

Usage

options


Examples

Multi-line text, with options. (padding: 4 and length: 28)

$ ctxt -l 28 -p 4 Hello and welcome to center-text-cli, I hope you find it useful! Feel free to contribute or report issues on Github!

multiline-with-options

Single line with default options. (padding: 0 and length: terminal width)

$ ctxt github.com/acidicNic/center-text-cli

one-line-default-options

Readme

Keywords

Package Sidebar

Install

npm i center-text-cli

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

143 kB

Total Files

8

Last publish

Collaborators

  • acidicnic