0.0.3 • Published 3 years ago

inp-response-validation v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

GitHub license nodejs badge typescript badge

HTTP response validation

Set of utility functions to help validate Web API Response and provide valid response body (response.text() or response.json()) or to construct and throw Error

Available scripts

  • clean - remove coverage data, Nyc cache and transpiled files,
  • clean:modules - remove and reinstall node_modules packages and package-lock.json,
  • build - transpile TypeScript to ES5,
  • lint - lint source files and tests,
  • test - run tests,
  • test:watch - interactive watch mode to automatically re-run tests
  • test:coverage - run tests and create code coverage reports