parameter icon indicating copy to clipboard operation
parameter copied to clipboard

A parameter verify tools.

Results 35 parameter issues
Sort by recently updated
recently updated
newest added

Is it possible to add ISO format support in validation rules of type `dateTime`?

当检查`min`,`max`或者数组长度,字符串长度时,提示信息对于边界的描述并不准确,没有考虑等于关系

```js const arr = [{ key: ' ' }]; const rules = {}; validate(rules, arr); ``` No matter how to set the rule can not validate the array

如题,请问如何对上传的文件、压缩包进行校验?是否支持?

The [docs](https://github.com/node-modules/parameter/#common-rule) describe the `required` default to true, but for my project, the conditions required `false` are more than `true`. May provide a config like : ```js var parameter =...

比如 type:int 允许 "1"、"2",type:boolean 允许 0 、1 等等

定义一下类型库, 方便智能提示可以么