Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

notabug.org/_percival/goescape

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notabug.org/_percival/goescape

Go Modules
Version
v0.0.0-20250521175626-1bfd0d02222d
Version published
Created
Source

spruce

Table Of Contents

  • Intro
  • Learn
  • Start

Intro

Go library for controlling the terminal using escape codes.

License

The goescape is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3.

Learn

Module

For more information about the module, use the link.

Use

Print "example" in red:

fmt.Printf("%sexample%s\n", goescape.Color().Foreground.Red, goescape.Color().Foreground.Reset))

or

set := goescape.New(goescape.Color().Foreground.Red)

fmt.Printf("%sexample%s\n", set.String(), goescape.Color().Foreground.Reset)

Start

Get

To get, execute the command:

~ $ go get -v notabug.org/_percival/goescape@latest

Update

To update, execute the command:

~ $ go get -u -v notabug.org/_percival/goescape@latest

FAQs

Package last updated on 21 May 2025

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