ampelstatus
v3.0.1
Published
A miniscule module to provide a framework for program statuses.
Downloads
9
Readme
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/[email protected]/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.