1.0.23 ā€¢ Published 10 days ago

@lou.codes/ansi v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
10 days 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.23

10 days ago

1.0.22

23 days ago

1.0.21

25 days ago

1.0.20

30 days ago

1.0.18

1 month ago

1.0.17

1 month ago

1.0.16

1 month ago

1.0.15

1 month ago

1.0.14

2 months ago

1.0.13

2 months ago

1.0.12

2 months ago

1.0.11

4 months ago

1.0.10

4 months ago

1.0.9

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

5 months ago

1.0.2

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago