Simple and customizable unicode symbols for the terminal
- 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)
$ npm install logcons
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)}`
);
Check the index.d.ts for the available icons
- PR's are welcome
- Make sure you add the added unicode symbols to the TS file and the example as well