Package Exports
- terminal-styling
- terminal-styling/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (terminal-styling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
<<<<<<< HEAD # terminal-styling An npm package for better terminal styling
terminal-colors
A npm package to add some styling to terminal output
Does Not Work With JavaScript Currently supports typescript Working on a JavaScript Fix
Installation
npm install terminal-stylingUsage
import { console } from 'terminal-styling'
// Changes terminal output to red
console.err("This is my error message");
// Changes terminal output to yellow
console.warn("This is my warning message");
// Changes terminal output to green
console.info("This is my info message");
// Allows the user to use custom colors
console.customColor("ffffff", "White on black", "000000");
console.customColor("00ffff", "Cyan text");
// Allows the user to create a table
console.table([{ name: "Alice", age: 25 }, { name: 'Bob', age: 30 }]);
master