inp-response-validation
v0.0.3
Published
Set of utility functions to help validate Web API Response
Downloads
10
Readme
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 teststest:coverage
- run tests and create code coverage reports