Beautiful & Customizable logger :heart:
Simple console logger, that works in Node.js, Electron and the Browser :heart:
npm install xa
const xa = require('xa');
xa.success('Build finished!');
xa.custom('TITLE', 'Nice description', {titleColor: 'yellow', backgroundColor: '#212121'});
Main method
text
Type: string
A text you want to display
text
Type: string
A text you want to display
text
Type: string
A text you want to display
text
Type: string
A text you want to display
title
Type: string
Title of the log. When in Electron, the title will be either MAIN
or RENDERER
.
text
Type: string
A text you want to display
titleColor
Type: string
Default: white
Color of the title. It will be converted to HEX.
backgroundColor
Type: string
Default: black
Color of title's background. It will be converted to HEX.
MIT © Antoni Kepinski