@algoan/nestjs-class-validators
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Nestjs class validators

A set of class validators based on the class-validator package (https://www.npmjs.com/package/@nestjs/class-validator/v/0.13.1).

Installation

npm install --save @algoan/nestjs-class-validators

IsEnum

A class validator that validates the enum type.

Usage

 @IsEnum(UserType)
 public userType: UserType;

/@algoan/nestjs-class-validators/

    Package Sidebar

    Install

    npm i @algoan/nestjs-class-validators

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    3.02 kB

    Total Files

    6

    Last publish

    Collaborators

    • algoanbot
    • fabong
    • na-ji