Socket
Socket
Sign inDemoInstall

komatsu

Package Overview
Dependencies
10
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    komatsu

the parallel spinner logger with the fresh pine scent


Version published
Weekly downloads
59
decreased by-29.76%
Maintainers
1
Install size
560 kB
Created
Weekly downloads
 

Readme

Source

🌲 komatsu

the parallel spinner logger with the fresh pine scent

komatsu screencast

usage

npm install komatsu

const Komatsu = require('komatsu')
const logger = new Komatsu()

// a unique label. logging again with the same label overwrites the line
logger.log('label', {
	status: 'pending', // the default. or, 'done', 'info' or 'fail'
	message: 'a nice message',
	error: new Error(`i'll print the stack trace`),
})

while any logger is pending, new loggers (with a label that hasn't been seen yet) will appear on the next line. once all current loggers are no longer pending, i'll clear a line. if i'm the only thing that's running timers, node will exit. otherwise, any loggers will appear after the empty line (even if their label was used before).

the name

小松 ko-matsu means "small pine tree". it's also a city in Ishikawa prefecture and the name of a company that makes forestry equipment.

licence

ISC. © Bren Brightwell

FAQs

Last updated on 01 Jul 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc