modella-timestamps
Adds createdAt
and updatedAt
fields to the given model using the fields specified and updates them autoamtically.
Usage Example
var modella = ;var timestamps = ; var User = ; // Use the default createdAt and updatedAt field names:User; // Specify custom field names:User;