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

0.0.4 • Public • Published

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

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i logcons

Weekly Downloads

11

Version

0.0.4

License

MIT

Unpacked Size

4.42 kB

Total Files

5

Last publish

Collaborators

  • barelyreaper