iso-639-1-class-validator A ISO-639-1 validator for the class-validator Install npm install iso-639-1-class-validator Usage class Database { /** * expect locale code, example: `zh`, `en`... */ @IsISO6391() localeCode: string; ... }