@qavajs/validation
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.2 • Public • Published

    @qavajs/validation

    npm install @qavajs/validation

    This is internal @qavajs library that helps to transform plain english definition to validation functions

    Lib supports following validations

    • equal - not strict equal (==)
    • strictly equal - strict equal (===)
    • deeply equal - deep equal (chai eql)
    • contain - contain a substring
    • match - match a regular expression
    • above / greater than - greater than
    • below / less than - less than
    • have type - type validation
    • have members - validation if array have members

    All validations can be negated adding not word.

    Install

    npm i @qavajs/validation

    DownloadsWeekly Downloads

    16

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    13.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • kirill_bogdanets
    • alexgalichenko