Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Plac | 272 | 758 | 76 | 10 days ago | 34 | March 30, 2022 | 7 | bsd-2-clause | Python | |
Plac: Parsing the Command Line the Easy Way | ||||||||||
Typeorm | 97 | 2 years ago | 27 | mit | TypeScript | |||||
Forked from https://github.com/typeorm/typeorm | ||||||||||
Zftable | 80 | 14 | 1 | 4 years ago | 5 | September 12, 2014 | 51 | mit | PHP | |
*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0. | ||||||||||
Websql Orm | 44 | 4 months ago | 39 | February 19, 2021 | 1 | isc | TypeScript | |||
websql-orm is a sqlite orm . websql-orm library for cordova platform, typescript, angular and ionic . | ||||||||||
Go Transaction Example | 34 | 3 months ago | mit | Go | ||||||
Example project to show how to combine sql.Tx transactions handling and decorators | ||||||||||
Aurelia Rethink Bindtable | 16 | 1 | 6 years ago | 6 | August 11, 2016 | 2 | JavaScript | |||
Aurelia bind table integration for RethinkDB via Socket.io | ||||||||||
Dbq | 13 | 8 years ago | 3 | July 19, 2015 | 1 | mit | Go | |||
CLI tool to easily Decorate BigQuery table name | ||||||||||
Class Validator Callback | 7 | 4 months ago | TypeScript | |||||||
ValidateCallback decorator for class-validator | ||||||||||
Grid Garage | 3 | 4 years ago | 5 | Python | ||||||
ArcGIS python toolbox supporting table-based processing | ||||||||||
Flask Sqlite Admin | 3 | 7 years ago | 1 | mit | Python | |||||
SQLite DB Management Blueprint for Flask Applications |
ValidateCallback decorator for class-validator
npm install class-validator class-validator-callback
import { validate } from 'class-validator';
import { ValidateCallback } from 'class-validator-callback';
class User {
@ValidateCallback(
(object, value) => /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/.test(value),
{ message: 'Error message for password' }
)
password: string;
@ValidateCallback(
(object, value) => object.password === value,
{ message: 'Error message for passwordConfirmation' }
)
passwordConfirmation: string;
}
const user = new User();
user.password = 'passW0rd';
user.passwordConfirmation = 'passW0rd';
validate(user).then(errors => console.log(errors));
MIT