Skip to content

qoq-ts/qoq-pretty-json

Repository files navigation

Pretty JSON

A JSON pretty-printed response middleware based on koa-json.

Installation

yarn add qoq-pretty-json

Usage

import { WebSlotManager } from 'qoq';
import { PrettyJson } from 'qoq-pretty-json';

const webSlots = WebSlotManager.use(new PrettyJson());

Options

@see koa-json

About

pretty-printed JSON response middleware for qoq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published