全部搜尋項
sid  ]
[ 原始碼: node-superstruct  ]

套件:node-superstruct(2.0.2-1)

node-superstruct 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 node-superstruct

維護小組:

外部的資源:

相似套件:

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.

下載 node-superstruct

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 38。7 kB211。0 kB [檔案列表]