Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
/ logcons Public archive

Simple and customizable unicode symbols for the terminal

License

Notifications You must be signed in to change notification settings

barelyhuman/logcons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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