1.0.30 • Published 11 months ago

@lou.codes/ansi v1.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Coverage License NPM Version Open Issues Size

šŸ“Ÿ 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

1.0.30

11 months ago

1.0.26

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.25

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years 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