All Projects → xxczaki → Xa

xxczaki / Xa

Licence: mit
Beautiful & Customizable logger ❤️

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Xa

Oji
(◕‿◕) Text Emoticons Maker
Stars: ✭ 668 (+756.41%)
Mutual labels:  package, simple, npm
Npmf
Fetch quick info of a npm pacakge using terminal
Stars: ✭ 64 (-17.95%)
Mutual labels:  terminal, package, npm
Pixterm
Draw images in your ANSI terminal with true color
Stars: ✭ 782 (+902.56%)
Mutual labels:  cli, terminal, color
Stmux
Simple Terminal Multiplexer for Node.js Environments
Stars: ✭ 388 (+397.44%)
Mutual labels:  terminal, simple, npm
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-32.05%)
Mutual labels:  cli, terminal, color
Imgcat
It's like cat, but for images.
Stars: ✭ 577 (+639.74%)
Mutual labels:  cli, terminal, color
Typac
install npm packages along with corresponding typings
Stars: ✭ 29 (-62.82%)
Mutual labels:  cli, package, npm
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
Stars: ✭ 3,848 (+4833.33%)
Mutual labels:  cli, package, npm
Nasa Cli
🚀 Download NASA Picture of the Day from your terminal!
Stars: ✭ 45 (-42.31%)
Mutual labels:  package, simple, npm
Fliplog
fluent logging with verbose insight, colors, tables, emoji, filtering, spinners, progress bars, timestamps, capturing, stack traces, tracking, presets, & more...
Stars: ✭ 41 (-47.44%)
Mutual labels:  cli, log, color
Npx card
use npx anmol to connect with me
Stars: ✭ 377 (+383.33%)
Mutual labels:  cli, terminal, npm
Nord Konsole
An arctic, north-bluish clean and elegant Konsole color scheme.
Stars: ✭ 56 (-28.21%)
Mutual labels:  cli, terminal, color
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+4894.87%)
Mutual labels:  cli, terminal, color
Emma Cli
📦 Terminal assistant to find and install node packages.
Stars: ✭ 1,201 (+1439.74%)
Mutual labels:  cli, terminal, npm
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (+342.31%)
Mutual labels:  cli, terminal, color
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-74.36%)
Mutual labels:  cli, terminal, color
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+22420.51%)
Mutual labels:  cli, terminal, color
Consola
Elegant Console Logger for Node.js and Browser 🐨
Stars: ✭ 3,461 (+4337.18%)
Mutual labels:  cli, terminal, log
Gub
CLI tool for create an npm package from any repos. 🐳
Stars: ✭ 31 (-60.26%)
Mutual labels:  cli, package, npm
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+1284.62%)
Mutual labels:  cli, terminal, color

xa

Simple console logger, that works in Node.js, Electron and the Browser ❤️

Build Status XO Code Style Unicorn

Screenshot


Highlights

  • Simple API
  • Works in Node.js, Electron and the Browser
  • Customizable
  • Written in TypeScript

Install

npm install xa

Usage

const xa = require('xa');

xa.success('Build finished!');
xa.custom('TITLE', 'Nice description', {titleColor: 'yellow', backgroundColor: '#212121'});

API

xa

Main method

success(text)

text

Type: string

A text you want to display

info(text)

text

Type: string

A text you want to display

warning(text)

text

Type: string

A text you want to display

error(text)

text

Type: string

A text you want to display

custom(title, text, {titleColor, backgroundColor})

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.

Thanks:

License

MIT © Antoni Kepinski

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].