3.0.15 • Published 10 months ago

@otterhttp/jsonp v3.0.15

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
10 months ago

@otterhttp/jsonp

npm (scoped) npm

JSONP response extension.

Install

pnpm i @otterhttp/jsonp

Example

import { App, extendMiddleware } from '@otterhttp/app'
import { jsonp } from '@otterhttp/jsonp'

new App({
  applyExtensions: (req, res) => {
    extendMiddleware(req, res)
    json(req, res)
  }
})
  .get('/', (req, res) => res.jsonp({ some: 'jsonp' }))
  .listen(3000)
3.0.13

10 months ago

3.0.14

10 months ago

3.0.15

10 months ago

3.0.12

1 year ago

3.0.10

1 year ago

3.0.11

1 year ago

3.0.9

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago