1.0.29 ⢠Published 1 year ago
@lou.codes/ansi v1.0.29
š Functional CLI ANSI formatting functions.
Usage
š¦ Node
Install @lou.codes/ansi
as a dependency:
pnpm add @lou.codes/ansi
# or
npm install @lou.codes/ansi
# or
yarn add @lou.codes/ansi
Import it and use it:
import { foregroundRed } from "@lou.codes/ansi";
foregroundRed`Hello world!`; // "Hello world!" in red text.
š¦ Deno
Import @lou.codes/ansi
using the npm:
prefix, and use it directly:
import { foregroundRed } from "npm:@lou.codes/ansi";
foregroundRed`Hello world!`; // "Hello world!" in red text.
š Browser
Import @lou.codes/ansi
using esm.sh, and use it directly:
<script type="module">
import { foregroundRed } from "https://esm.sh/@lou.codes/ansi";
foregroundRed`Hello world!`; // "Hello world!" in red text.
</script>
Useful links
- š Documentation: TypeDoc generated documentation.
- ā³ Changelog: List of changes between versions.
- ā Tests Coverage: Coveralls page with tests coverage.
1.0.26
1 year ago
1.0.29
1 year ago
1.0.28
1 year ago
1.0.27
1 year ago
1.0.25
1 year ago
1.0.23
1 year ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.2
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago