UNPKG

express-json

Version:

A middleware for Express that sets Content-Type to text/plain if Accept header doesn't contain application/json.

12 lines (11 loc) 300 B
{ "version": "1.0.0", "name": "express-json", "description": "A middleware for Express that sets Content-Type to text/plain if Accept header doesn't contain application/json.", "keywords": [ "express", "middleware", "json" ], "main": "./lib/json.js" }