# consoleteller

> A simple package for formatted console logs

Latest version **1.1.0** (published 2019-10-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install consoleteller
pnpm add consoleteller
yarn add consoleteller
bun add consoleteller
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-10-11 |
| First published | 2019-10-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | FunnyFungi |
| Maintainers | funnyfungee |
| Keywords | console, chalk, colour |

## Links

- npm: https://www.npmjs.com/package/consoleteller
- npm.io page: https://npm.io/package/consoleteller

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [dateformat](https://npm.io/package/dateformat.md) ^3.0.3

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-10-11
- 1.0.8 — 2019-10-11
- 1.0.7 — 2019-10-11
- 1.0.6 — 2019-10-11
- 1.0.5 — 2019-10-11
- 1.0.4 — 2019-10-11
- 1.0.3 — 2019-10-11
- 1.0.2 — 2019-10-11
- 1.0.1 — 2019-10-11
- 1.0.0 — 2019-10-11

## README

## INSTALL:
`$ npm install consoleteller`

## SUMMARY:
ConsoleTeller is a very simple module built to format and give your console messages some colour in them.

## USAGE:
ConsoleTeller has 6 different "logging types", these are:

`'info', 'error', 'warning', 'fatal', 'debug', 'priority'`

### INFO:
-------------
Colour: Green

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.info('App Started')
```

Output:

`[11:09:59] INFO App Started`

### ERROR:
-------------
Colour: Red

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.error('App Crashed')
```

Output:

`[11:09:59] ERROR App Crashed`

### WARNING:
-------------
Colour: Yellow

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.warning('App Slowing Down')
```

Output:

`[11:09:59] WARNING App Slowing Down`

### FATAL:
-------------
Colour: Purple

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.fatal('Proccess Crashed')
```

Output:

`[11:09:59] FATAL Process Crashed`

### DEBUG:
-------------
Colour: Cyan

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.debug('Error Catched: No module found')
```

Output:

`[11:09:59] DEBUG Error Catched: No module found`

### PRIORITY:
-------------
Colour: Blue

Input: 

```javascript
const consoleTeller = require('consoleteller')

consoleTeller.priority('Something Important')
```

Output:

`[11:09:59] PRIORITY Something Important`


### Extra Info:
-------------

Priority will bypass any other console.log and will always come out first.

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