@skxrb1ud/validator
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Validator

import { Validate } from "@skxrb1ud/validator";


const test_1 = {
    a: null,
    b: "hello123",
    c: 11,
    d: [1,2,3]
}

const result = Validate(test_1, {
    c: {
        isInteger: true,
    },
    d: {
        minLength: 1,
    }
})

Readme

Keywords

none

Package Sidebar

Install

npm i @skxrb1ud/validator

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

19.4 kB

Total Files

6

Last publish

Collaborators

  • skxrb1ud