qoq-pretty-json

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

Usage no npm install needed!

<script type="module">
  import qoqPrettyJson from 'https://cdn.skypack.dev/qoq-pretty-json';
</script>

README

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