httpproblem
Advanced tools
Comparing version 0.5.3 to 0.5.4
{ | ||
"name": "httpproblem", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Create Problem Details for HTTP APIs according to RFC 7807", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -102,3 +102,3 @@ # Create problem+json documents with Node.js | ||
const httpProblem = require('httpproblem'); | ||
const UnauthorizedProblem new httpProblem.StatusCodeProblems.UnauthorizedProblem(); | ||
const problem = new httpProblem.StatusCodeProblems.UnauthorizedProblem(); | ||
``` | ||
@@ -105,0 +105,0 @@ |
90466