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

msg-attention

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msg-attention

Display attention-grabbing messages in the terminal

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

msg-attention

server started

Display attention-grabbing messages in the terminal.

Table of Contents

Background

Forked from @dylang/grunt-attention, as I needed to use it outside of Grunt.

Install

npm install --save msg-attention

or

yarn add msg-attention

Usage


TODO

files pushed

API

message required

Text to display.

border optional

Border style.

Included styles: thin, double, stacked, comment.

Single character repeated: Provide a single character and it will repeat it as the border such as ! or *.

New style: Provide a 9-character string for all sides. See lib/borders.js for examples.

borderColor optional

Color for the border.

Choices are: black, red, green, yellow, blue, magenta, cyan, white, gray, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bgGray.

Currently you can't set both the foreground and the background, that will be resolved in a future release.

More examples

examples

Tests

Run npm test to lint and run the tests.

Contribute

See the contribute file!

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

Thanks to

@dylang for the idea, the original package and for releasing both of them under the MIT license.

License

MIT © Giacomo Rossetto

Keywords

FAQs

Package last updated on 23 May 2018

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