1.0.3 • Published 4 years ago

irith-frame-print v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Frame Print

This is a utility that allows to print a string inside a beautiful, customizable frame! NOTE: This package was created with the mere purpose of learning how to build npm packages.

Get Started

npm i @federicomichela/frame-print

Methods

advancedFramePrint

Usage

const framePrintUtil = require('frame-print');
const framedString = framePrintUtil.framePrint(
    'Michela',          // string to frame
    {
        frameSize: 30,  // number of total characters per row
        tbt: 1,         // top-bottom thickness (how many rows for top and bottom frame)
        lrt: 2,         // left-right thickness (how many characters for frame sides)
        tbSymbol: '-',  // character used to build the frame top and bottom
        lrSymbol: '|',  // character used to build the frame left and right
    }
);
1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago