package
Simple console logger, that works in Node.js, Electron and the Browser ❤
npm install xaGitHub-flavored package documentation.
Across all versions, last 30 days.
173 in 30 days
Runtime metadata.
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
Estimated unpacked size across 9 packages.
286.5 kB
Includes dependencies.
3 direct · 2 outdated