# talking-console

> Override console methods to provide a console that talks

Latest version **0.0.1** (published 2020-10-25) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-10-25 |
| First published | 2020-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bruno Bonnin |
| Maintainers | bbonnin |
| Keywords | javascript, console, speech |

## Links

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

## Recent versions

- 0.0.1 (latest) — 2020-10-25

## README

# talking-console

Overrides the console methods with speech synthesis... Useless, but fun :)

## How to use

By default, a new global object `tconsole` is created. This object overrides the methods `log`, `warn` and `error` of console.
So, you just have to use the method `console.log`, `console.warn` and `console.error` as usual.

If you want to override the options, you can create a new instance:

```javascript
window.tconsole = new TalkingConsole({
	volumes: {
        log: 0.2,
        warn: 0.7,
        error: 1
    },
	prefixMsg: {
        log: 'New log',
        warn: 'New warn',
        error: 'New error'
    },
    wrapConsole: false
})
``` 

If `wrapConsole` is set to `false`, the methods of console are not overridden, you will have to use `tconsole`.

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