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

ts-clear-screen

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

ts-clear-screen

Simple library that clears your console buffer

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

ts-clear-screen

Simple typescript library that clears your console

Usage

  1. Add ts-clear-screen on your project dependencies
yarn add ts-clear-screen
  1. Import on your project
import clear from "ts-clear-screen";

// Clears your console
clear();

Personal note

This works on my macbook, so I assume that it should work on mac machines. I'll be using this on my linux machine as well, so if this doesn't work, then I will issue a fix. If the code remains the same, then assume that it works on linux terminals as well.

If it doesn't work on your machine, feel free to send a PR and just describe your changes, and we'll gladly merge your PR.

FAQs

Package last updated on 06 Jan 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