1.3.1 • Published 4 years ago

@vangware/forcli v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

@vangware/forcli

Build Status Coverage License NPM Version Open Issues Size

🎨 Functional CLI ANSI formatter.

Usage

This package can be installed as a dependency or used directly.

Usage as ECMAScript module

In JS or deno:

import { isObject } from "https://cdn.skypack.dev/@vangware/forcli";

Or in HTML:

<script type="module" src="https://cdn.skypack.dev/@vangware/forcli"></script>

Usage with local installation

First:

npm i @vangware/forcli

And then:

import { whiteText, redBackground, bold, mix } from "@vangware/forcli";

// You can just use the styles
console.log(redBackground("Red background text"));

// Or you can mix them!
const warningText = mix([whiteText, redBackground, bold]);

console.log(warningText("Warning!"));

Documentation

Documentation can be found HERE. It is auto-generated with typedoc based on the JSDocs and the types in the source. Shouldn't be necessary to read this, code editors like VSCode integrate the documentation in the UI.

Changelog

Changelog can be found HERE.

Test coverage

Test coverage can be found HERE.

1.3.1

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.16

5 years ago

1.1.15

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago