console-styling
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Console text styling for TS and JS

Statistics/Info:

Language:

Size:

TS and JS Console colors

Lightweight package for styling console.log() in the terminal

Features

Font colors
Background colors
Text styling
Presets

Please click the star (⭐️) button above to support my work

How to setup:

1. Clone and Install Required Packages

Run the following command:

npm install console-styling

2. Import package

import { log } from console-style

3. Example usage

log('Hello World', {color: 'red', style: 'underline'});

const customStyle = {color: 'blue', style: 'bold'}
log('Hello World', customStyle);

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i console-styling

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    8.38 kB

    Total Files

    6

    Last publish

    Collaborators

    • rdeets