# console-master

> console-master is console logger that supports colors and correct time-format built by refloow for osl-works github projects.

Latest version **1.0.3** (published 2021-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install console-master
pnpm add console-master
yarn add console-master
bun add console-master
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-09-13 |
| First published | 2021-03-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 33 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Refloow |
| Maintainers | osl-works |
| Keywords | console, master, colors, format, logs, logger |

## Links

- npm: https://www.npmjs.com/package/console-master
- Repository: https://github.com/OSL-Works/console-master
- Homepage: https://github.com/OSL-Works/console-master#readme
- Issues: https://github.com/OSL-Works/console-master/issues
- npm.io page: https://npm.io/package/console-master

## Dependencies (1)

- [winston](https://npm.io/package/winston.md) 3.3.3

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-09-13
- 1.0.2 — 2021-03-14
- 1.0.1 — 2021-03-14
- 1.0.0 — 2021-03-14

## README

# console-master
### Allows colors and adds correct time-format to console logs

_console-master is node module console logger that supports colors and correct time-format_
_built by @Refloow for OSL-works Github projects._

<img src="https://img.shields.io/npm/dt/console-master.svg" alt="Downloads">

## Installation

Install it from [npm](https://www.npmjs.com/package/console-master):

    $ npm install console-master
    
## Usage examples

```js

// Import module
// Import the module under the name that you like, in the example Console with capital C is used
// Importing module under the name console, will cause an error in case of using standard console.log(".");


const Console = require("console-master");

// All ussage examples
// in case of a different name chosen under which module is imported use
// yourchosenname.false("Shows bold red text"); for example

// All variants
Console.false("Shows bold red text");
Console.true("Shows bold green text");
Console.new("Shows underline gray text");
Console.info("Shows yellow text");
Console.summary("Shows cyan text");

// Errors can be shown with .fail, .err, .error
Console.fail("Shows red text");
Console.err("Shows red text");
Console.error("Shows red text");
Console.import("Shows white text with red background");
Console.export("Shows white text with green background");
```

## Result looks like this:

<img src="https://github.com/OSL-Works/console-master/blob/main/.github/showcase/results.png" />

---
_Source: https://npm.io/package/console-master · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
