# pconsole

> Use p() instead of console.log() because you have places to be

Latest version **0.0.2** (published 2019-07-23) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2019-07-23 |
| First published | 2019-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sam@trinityinsight.com |
| Maintainers | metasloth |
| Keywords | pconsole, console, trinity, insight |

## Links

- npm: https://www.npmjs.com/package/pconsole
- Repository: https://github.com/trinity-insight/pconsole
- Homepage: https://github.com/trinity-insight/pconsole#readme
- Issues: https://github.com/trinity-insight/pconsole/issues
- npm.io page: https://npm.io/package/pconsole

## Recent versions

- 0.0.2 (latest) — 2019-07-23
- 0.0.1 — 2019-07-22

## README

# pconsole
Use p() instead of console.log() because you have places to be

## Usage

Simple syntax:
```js
const PConsole = require('pconsole')
const p = new PConsole('My Prefix |').getLogger()

p('Message')
```

Verbose usage:
```js
const PConsole = require('pconsole')
const pconsole = new PConsole('My Prefix |')

pconsole.log('message')
pconsole.setPrefix('New Prefix |')
pconsole.log('message')
```

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