eloquently v1.1.2
Eloquently
Eloquently is here to help quickly and efficiently style strings.
About/Install
Eloquently is currently just starting out development as a better, more efficient, complete overhaul of the old dredded 'elegant-logs'.
To install run npm i eloquently
to just install the main package.
Example
Although being inspired by Elegant-logs it includes a completely different and cleaner proccess.
const e = require('eloquently');
console.log(e.red + 'I\'m red!');
// or
console.log(''
+ e.red
+ 'I\'m red!'
)
Capabilities
With my latest endeavour 'Eloquently' I aimed not only to completely redo elegant-logs as a cleaner and easier string styling tool, but also have a whole list of help and color options directly through the command line.
I brought this to life with the commands e.colors
, e
, e.help
, and e.colours
which give help with any problems you may be encountering and also a support line directly to me.
To use these simply write out npm run [<command>]
in the command line.
Effects
e.reset - reset all current effects,
e.blink - makes foreground text blink (may not work on some systems),
e.underline - underlines text,
e.invert - inverts effects from foreground to background,
The following change foreground colors.
e.black, e.red, e.green, e.yellow, e.blue, e.magenta, e.cyan, e.white
The following change background colors.
e.bg.black, e.bg.red, e.bg.green, e.bg.yellow, e.bg.blue, e.bg.magenta, e.bg.cyan, e.bg.white.