Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beautlog

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautlog

Show log messages on your terminal with style :-) . Use debugging levels to enable or disable log messages.

  • 0.5.9
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

:package: beautlog

:package: beautlog

Show log messages on your terminal with style :-) . Use debugging levels to enable or disable log messages.

Issues GitHub pull requests GitHub Downloads GitHub Total Downloads GitHub release

Report Bug Request Feature

Did you like the project? Please, considerate a donation to help improve!

Show log messages on your terminal with style :-) . Use debugging levels to enable or disable log messages.

Getting started

Installation

npm i beautlog

or

Installation

yarn add beautlog

Usage

const Console = require('beautlog');

Console.trace('Trace');//change the level to use trace
Console.success('Success');
Console.ok('Ok');//success alias
Console.debug('Debug');
Console.info('Info');
Console.warning('Warning');
Console.warn('Warn');//warning alias
Console.error('Error');

or

import Console from 'beautlog';

Console.WriteLine('Hello World');
Console.trace('Trace');
Console.success('Success');
Console.ok('Ok');
Console.debug('Debug');
Console.info('Info');
Console.warning('Warning');
Console.warn('Warn');
Console.error('Error');

or

import { puts, print, printf, log, debug } from 'beautlog';

puts('Hello World');
print('Hello World');
printf('Hello World');
log('Hello World');
debug('Hello World');

Input usage

import Console, { input } from 'beautlog';

const myValue = input('Insert an value:');

//or:
const mySecondValue = Console.ReadLine('Insert an second value:');

//result:
Console.Write(`${myValue} and ${mySecondValue}`);

Clone this repository: git clone https://github.com/hebertcisco/beautlog

Open the directory and run the script line:

cd beautlog && npm i && rm -rf .git && git init

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Or buy me a coffee 🙌🏾

📝 License

Copyright © 2023 Hebert F Barros.
This project is MIT licensed.

Keywords

FAQs

Package last updated on 28 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc