1.1.6 • Published 4 years ago

@asymmetrik/fhir-sanitize-param v1.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

FHIR-Sanitize-Param

Utility for standard rest API's to sanitize arguments on incoming requests.

Install

yarn add @asymmetrik/fhir-sanitize-param

Usage

This package exports a number of functions meant for sanitizing different data types. The functions available from this package are: sanitizeBoolean, sanitizeDate, sanitizeNumber, sanitizeQuantity, sanitizeString, sanitizeToken

See fhir-sanitize-param tests for more usage examples.