UNPKG

express-rendertype

Version:

Express middleware to (automatically) render content and errors to content-type

60 lines (59 loc) 1.64 kB
{ "name": "express-rendertype", "version": "1.2.0", "description": "Express middleware to (automatically) render content and errors to content-type", "main": "lib/rendertype.js", "directories": { "test": "test" }, "scripts": { "test": "npm run test:modules && npm run test:report", "test:modules": "mocha --recursive --compilers coffee:iced-coffee-script/register --require iced-coffee-coverage/register-istanbul test/", "test:report": "istanbul report", "test:coverage": "istanbul report text-summary lcov", "watch": "iced --watch --bare --map --runtime node -o lib/ -c src/*", "build": "iced --bare --map --runtime node -o lib/ -c src/*" }, "repository": { "type": "git", "url": "git://github.com/nextorigin/express-rendertype.git" }, "keywords": [ "express", "middleware", "contenttype", "content-type", "error", "stacktrace", "render", "mime", "excerpt", "exception", "autodetect" ], "author": "doublerebel", "license": "MIT", "bugs": { "url": "https://github.com/nextorigin/express-rendertype/issues" }, "homepage": "https://github.com/nextorigin/express-rendertype#readme", "dependencies": { "errify": "^1.0.0", "iced-runtime": "^1.0.3", "pug": "^2.0.0-alpha6", "restify-errors": "^4.2.1" }, "optionalDependencies": { "xml": "^1.0.1", "js-yaml": "^3.6.0" }, "devDependencies": { "chai": "^3.5.0", "coveralls": "^2.11.12", "iced-coffee-coverage": "^1.0.3", "iced-coffee-script": "^108.0.11", "istanbul": "^0.4.5", "mocha": "^3.0.2", "sinon": "^1.17.5" } }