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

@tos_/cli-welcome

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tos_/cli-welcome

Welcome customised header for Node.js CLI software

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-27.27%
Maintainers
0
Weekly downloads
 
Created
Source

cli-welcome

Welcome customised header for Node.js CLI software


📟

Install

npm install @tos_/cli-welcome

⚙️

Usage

const welcome = require('@tos_/cli-welcome');

// Use it.
welcome({title: `Welcome CLI`, tagLine: `by Tawseef Ahmad`});

// OR with all the options set like this:
welcome({
	title: `Welcome CLI`,
	tagLine: `by Tawseef Ahmad`,
	bgColor: `#FADC00`,
	color: `#000000`,
	bold: true,
	clear: true,
	version: `v1.0`
});

📃

API

welcome(options)

❯ options

Type: object
Default: {}

You can specify the options below.

❯ title

Type: string

CLI title with background color highlight.

❯ tagLine

Type: string

CLI tag line in front of the title without highlight but dimmed.

❯ description

Type: string

CLI description below the title.

clear

Type: boolean
Default: true

Clear console.

bold

Type: boolean
Default: true

Bold heading text.

bgColor

Type: string
Default: #ffffff

Background color highlight for heading.

color

Type: string
Default: true

Text color for heading.

version

Type: string
Default: (empty string)

Print version text.


Connect

GitHub @tawseefnabi (follow) To stay up to date on free & open-source software

Twitter @NabiTowseef (follow) To get tech updates/small>

LinkedIn @TawseefAhmad (connect) On the LinkedIn profile y'all


Keywords

FAQs

Package last updated on 18 Aug 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