Log messages in the terminal and browser
This is a small, but useful, library for logging messages in the terminal and browser consoles.
Colorful messages can be logged in the terminal and browser consoles that support ANSI colors.
This package is ESM only.
In Node.js with yarn:
yarn add @flex-development/log
See Git - Protocols | Yarn for details regarding installing from Git.
In Deno with esm.sh
:
import { createLogger } from 'https://esm.sh/@flex-development/log'
In browsers with esm.sh
:
<script type="module">
import { logger } from 'https://esm.sh/@flex-development/log'
</script>
TODO: use
TODO: api
This package is fully typed with TypeScript.
See CONTRIBUTING.md
.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.