New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qterm

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qterm

Make your node cli apps look cute

  • 0.3.22
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

QTerm

🐱 Make your console.log() looks cute 👶

Installation :

npm : npm install qterm

yarn : yarn add qterm

Available methods :

table :

import { table } from 'qterm';

table(arr, styles);

title :

import { title } from 'qterm';

title(text, styles);

text

import { text } from 'qterm';

text(text, styles);

link

import { link } from 'qterm';

link(text, link, styles)

Styling :

Change text color :

title("Awesome CLI", "text-red");
text("Another text", "text-blue");
text("Custom font", "text[#02D]");

Change background color :

title("Awesome CLI", "bg-red");
text("Another text", "bg-blue");
text("Custom font", "bg[#02F]");

Add margins :

title("Awesome CLI", "ml-4");
text("Another text", "mt-2");
text("Custom font", "mb-1");

Change font style :

title("Awesome CLI", "font-bold");
text("Another text", "font-italic");
text("Custom font", "font-underline");

Use font gradient :

title("Awesome CLI", "gradient-mind");
text("Another text", "gradient-rainbow");
text("Custom font", "gradient-vice");

Title font list :

You can set fonts for the title method, you can retrieve the complete list of available font for titles : https://github.com/patorjk/figlet.js/tree/master/fonts

Gradient list :

Built-in gradients : Built-in gradients

Dependencies :

  • chalk
  • figlet
  • gradient-string
  • terminal-link

FAQs

Package last updated on 10 May 2022

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