@salesduck/format-json
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Format JSON

Converts log data into JSON format;

Setup

Install package

yarn add @salesduck/format-json

Usage

Just create and pass to transport

import { ConsoleTransport } from '@salesduck/transport-console';
import { JsonFormat } from '@salesduck/format-json';

const formatter = new JsonFormat();

const transport = new ConsoleTransport({ formatter });

Readme

Keywords

none

Package Sidebar

Install

npm i @salesduck/format-json

Weekly Downloads

0

Version

4.0.0

License

MIT

Unpacked Size

6.22 kB

Total Files

7

Last publish

Collaborators

  • webworkdeveloper