Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
sisteransi
Advanced tools
Readme
Ansi escape codes faster than you can say "Bam bam".
npm install sisteransi
const ansi = require('sisteransi');
// or const { cursor } = require('sisteransi');
const p = str => process.stdout.write(str);
// move cursor to 2, 1
p(ansi.cursor.to(2, 1));
// to up, one down
p(ansi.cursor.up(2)+ansi.cursor.down(1));
Set the absolute position of the cursor. x0
y0
is the top left of the screen.
Set the position of the cursor relative to its current position.
Move cursor up a specific amount of rows. Default is 1
.
Move cursor down a specific amount of rows. Default is 1
.
Move cursor forward a specific amount of rows. Default is 1
.
Move cursor backward a specific amount of rows. Default is 1
.
Move cursor to the next line a specific amount of lines. Default is 1
.
Move cursor to the previous a specific amount of lines. Default is 1
.
Move cursor to the left side.
Hide cursor.
Show cursor.
Scroll display up a specific amount of lines. Default to 1
.
Scroll display down a specific amount of lines. Default to 1
.
Erase the screen and move the cursor the top left position.
Erase the screen from the current line up to the top of the screen. Default to 1
.
Erase the screen from the current line down to the bottom of the screen. Default to 1
.
Erase the entire current line.
Erase from the current cursor position to the end of the current line.
Erase from the current cursor position to the start of the current line.
Erase from the current cursor position up the specified amount of rows.
This is a fork of ansi-escapes.
MIT © Terkel Gjervig
FAQs
ANSI escape codes for some terminal swag
The npm package sisteransi receives a total of 18,233,338 weekly downloads. As such, sisteransi popularity was classified as popular.
We found that sisteransi demonstrated a not healthy version release cadence and project activity because the last version was released 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.