0.0.4 • Published 3 years ago

logcons v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

logcons

Simple and customizable unicode symbols for the terminal

Features

  • Small , has like one dependency
  • You can customize the colors if you wish to

the catch

  • Doesn't compile to esm right now (waiting for wrap to add support)

Install

$ npm install logcons

Usage

const { white } = require("kleur");

console.log(logcons.peace());
console.log(logcons.biohazard());

console.log("===Custom Coloured===");

console.log(
  `Original: ${logcons.heart()} Custom: ${logcons.heart(white().bold)}`
);

console.log(
  `Original: ${logcons.cross()} Custom: ${logcons.cross((icon) => icon)}`
);

API

Check the index.d.ts for the available icons

Contribute

  • PR's are welcome
  • Make sure you add the added unicode symbols to the TS file and the example as well

License

MIT