ampelstatus
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Ampelstatus

A itty-bitty dependency-free module that provides status codes for use in CLI programs.

Examples

Deno

import {inf,wrn,err} from "https://deno.land/x/ampelstatus@v2.0.0/ampelstatus.ts"

Node

First...

npm i ampelstatus

Then...

import {inf,wrn,err} from "ampelstatus"

Usage

inf("This function did GREAT!!");
wrn("Uh Oh! Something Happened!");
err("The program's dead. It's entirely your fault. I hope you're happy.");

Doc

inf

Indicates an action has run successfully.

wrn

Indicates something has happened that could effect normal program function

err

Indicates a fatal error.

Package Sidebar

Install

npm i ampelstatus

Weekly Downloads

3

Version

3.0.1

License

LGPL-3.0+

Unpacked Size

2.74 kB

Total Files

5

Last publish

Collaborators

  • atlas69