Wondering what’s next for npm?Check out our public roadmap! »

@vangware/forcli
TypeScript icon, indicating that this package has built-in type declarations

1.1.19 • Public • Published

@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";

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.

Install

npm i @vangware/forcli

DownloadsWeekly Downloads

1

Version

1.1.19

License

MIT

Unpacked Size

36.8 kB

Total Files

32

Last publish

Collaborators

  • avatar