console-print-frame
v1.1.5
Published
A simple package this will print the input strong in the console surrounded by a * frame. Length adjusts to string size automatically.
Downloads
13
Readme
Description
Console Frame Print is a small and simple package that prints your input to the console, after surrounding it with a frame of asterisks (*). The length of the frame scale dynamically with the length of the input string, and there is basic error catching to inform the user of a syntax error.
Pictures
- Command Line Test Usage
- Importing and Using
Installation
Add the NPM package to your project by running npm i console-frame-print
.
Usage
To make use of the FramePrint function, import the function to your file by binding it to a variable after installation:
- Using ES5:
const framePrint = require('console-frame-print);
Author
Drowsy Dev