Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (23 loc) · 584 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 584 Bytes

Deprecated!

This now lives in the main restify repository. To use the restify formatters, please use:

require('restify').formatters

formatter-jsonp

Build Status

Installation

npm install restify-formatter-jsonp

Usage

var restify = require('restify');
var server = restify.createServer();
var jsonpFormatter = require('restify-formatter-jsonp');

server.use(jsonpFormatter);
server.listen(8080)

License

MIT