GitShow/sindresorhus/clear-cli
sindresorhus

clear-cli

Clear the terminal cross-platform

by sindresorhus
Star on GitHubForknpm

JavaScript

46 stars3 forks2 contributorsQuiet · 4y agoSince 2016v2.0.0MIT

Meet the team

See all 2 on GitHub →
sindresorhus
sindresorhus6 contributions
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
iTonyYo
trange characters: `[1m%`ClosedIssue

using Hyper 2.0.0 !image @sindresorhus

iTonyYo · 7y ago
Pomax
perhaps a few too many dependencies?ClosedIssue

Your library literally only needs to send the ANSI command to a raw filestream, but you've written it to achieve this using 540000 bytes of dependency code =) As an improvement, may I suggest removing all those dependencies and simply writing the ANSI string needed: This removes the need for over half a megabyte of dependencies just to clear the screen, and is even cross-platform (because of course windows needs a different code, why wouldn't it...) And as the only argument that clear takes is --help, it seems unnecessary to have arg parsing, but since the only response is literally the instruction to just use , no need for a big parser dependency chain either:

Pomax · 9y ago
Structured data for AI agents

Repository: sindresorhus/clear-cli. Description: Clear the terminal cross-platform Stars: 46, Forks: 3. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v2.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 71%. Top contributors: sindresorhus, Richienb.

·@ofershap

Replace github.com with gitshow.dev