zimoykin-validate
v1.0.6
Published
input validatate for express js
Downloads
4
Readme
validate input from entity
intall:
npm i zimoykin-validate
use:
import { validate } from 'zimoykin-validate'
//
you also need use DataTransferProtocol like this
export class UserDto extends DataTransferObject { @asEmail email: string @asString password: string }