mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
13 lines
179 B
TypeScript
13 lines
179 B
TypeScript
import Koa = require("koa");
|
|
import json = require('koa-json');
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(json({
|
|
pretty: false,
|
|
param: 'pretty',
|
|
spaces: 2
|
|
}));
|
|
|
|
app.listen(80)
|