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

yurnalist

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yurnalist

Elegant console output, borrowed from Yarn

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
277K
increased by3.28%
Maintainers
1
Weekly downloads
 
Created

What is yurnalist?

Yurnalist is a simple and elegant logger for Node.js applications. It provides a set of logging utilities that can be used to output messages to the console in a structured and visually appealing way. It is particularly useful for command-line tools and scripts that require user-friendly output.

What are yurnalist's main functionalities?

Basic Logging

Yurnalist allows you to log basic messages to the console. This is useful for general-purpose logging in your application.

const { Reporter } = require('yurnalist');
const reporter = new Reporter();
reporter.log('This is a basic log message.');

Progress Bars

Yurnalist provides a progress bar utility that can be used to indicate the progress of a task. This is particularly useful for long-running operations.

const { Reporter } = require('yurnalist');
const reporter = new Reporter();
const progress = reporter.progress();
progress.tick();
progress.tick();

Spinners

Yurnalist includes a spinner utility that can be used to show that an operation is in progress. This is useful for providing visual feedback to users.

const { Reporter } = require('yurnalist');
const reporter = new Reporter();
const spinner = reporter.activity();
spinner.tick('Loading...');
setTimeout(() => spinner.end(), 2000);

Success and Error Messages

Yurnalist allows you to log success and error messages in a visually distinct way. This helps in clearly communicating the outcome of operations to users.

const { Reporter } = require('yurnalist');
const reporter = new Reporter();
reporter.success('Operation completed successfully.');
reporter.error('An error occurred during the operation.');

Other packages similar to yurnalist

Keywords

FAQs

Package last updated on 14 Sep 2020

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