Source: node-superstruct Maintainer: Home Assistant Team Uploaders: Edward Betts , Section: javascript Build-Depends: debhelper-compat (= 13), dh-nodejs, dh-sequence-nodejs, node-rollup-plugin-typescript, node-typescript, rollup, Standards-Version: 4.7.3 Homepage: https://github.com/ianstormtaylor/superstruct Vcs-Browser: https://salsa.debian.org/homeassistant-team/js/node-superstruct Vcs-Git: https://salsa.debian.org/homeassistant-team/js/node-superstruct.git Package: node-superstruct Architecture: all Depends: ${misc:Depends}, Description: Composable data validation and coercion for JavaScript values This library defines data structures that describe the expected shape and type of values, and checks input against those definitions. It can validate objects, arrays, tuples, scalars, unions, and nested data, and it can report where validation failed. . It also supports coercion and masking, so input values can be converted or reduced to match the declared structure where appropriate. Assertions, boolean checks, and detailed failures are available for code that needs either simple pass or fail results or more specific error information. . Superstruct is commonly used to examine data passed between parts of an application, including parsed JSON, configuration data, form input, request payloads, and values returned by APIs or other services.