Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
estquasi
Advanced tools
Readme
@skyra/start-banner
A banner generator utility for your CLI, generates a string to be printed into the console given a logo, name, and extras.
The full layout is similar to the following:
#####################################################################
# # #
# # #
# LOGO # NAME #
# # #
# # #
#####################################################################
############ #
############ EXTRAS #
############ #
############ #
#####################################################################
It consists of two sections, "left" and "right". The left section is present only if a non-empty logo is given, otherwise only the right section will be shown. The right section consists of the "name" and "extras" fields, both of which are optional, and if none of them is given, then only the logo will be shown.
The width of the left section depends on the width of the "logo" field without the ANSI codes, which allows users to use coloured logos with ANSI codes and the width will still be correct, displaying the banner as intended.
If the height of the right section is higher than the height of the logo, then an empty padding with the logo's width will be used.
To use the module, you import the createBanner
function from the package, and then pass arrays with the lines.
FAQs
A collection of shared utilities for the ArchId Network
We found that estquasi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).