# @rpidanny/quill

> Core Quill Node.js logger.

Latest version **1.6.0** (published 2024-06-14) · 0 weekly downloads

## Install

```sh
npm install @rpidanny/quill
pnpm add @rpidanny/quill
yarn add @rpidanny/quill
bun add @rpidanny/quill
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.0 |
| Published | 2024-06-14 |
| First published | 2023-09-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | mabhishek |

## Links

- npm: https://www.npmjs.com/package/@rpidanny/quill
- Repository: https://github.com/rpidanny/quill
- Homepage: https://github.com/rpidanny/quill#readme
- Issues: https://github.com/rpidanny/quill/issues
- npm.io page: https://npm.io/package/@rpidanny/quill

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) 2.30.1

## Recent versions

- 1.6.0 (latest) — 2024-06-14
- 1.5.2 — 2024-06-09
- 1.5.1 — 2024-06-09
- 1.5.0 — 2024-06-07
- 1.4.0 — 2023-10-22
- 1.3.1 — 2023-10-22
- 1.3.0 — 2023-10-07
- 1.2.2 — 2023-10-04
- 1.2.1 — 2023-10-04
- 1.2.0 — 2023-10-04
- 1.1.0 — 2023-09-27

## README

# Core

Core Quill Node.js logger.

## Installation

To use Quill, simply install the package from NPM using the following command:

```sh
npm i --save @rpidanny/quill
```

## Usage

```ts
import Quill from '@rpidanny/quill';
const logger = new Quill({ service: 'my-awesome-service' });

logger.info('hey there');
```

### Hooks

Quill can be effortlessly customized with an array of log transformation functions, also known as `hooks`. Take a look at the following example, where every log message receives an enchanting prefix.

```ts
import Quill from '@rpidanny/quill';

const logger = new Quill({
  service: 'my-awesome-service',
  hooks: [
    (log) => ({
      ...log,
      message: `PREFIX: ${log.message}`,
    }),
  ],
});
```

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