express-form-handler
Version:
A form handler for express, the nodejs framework.
18 lines (14 loc) • 324 B
JavaScript
/**
* @licence MIT
* @author Louis Audeon <louis.audeon@mail.be>
*/
function Fieldformat () {
this.error = null
this.name = null
}
//
Fieldformat.prototype.check = function (field, value) {
throw new Error('Fieldformat#check must be overridden by subclass')
}
module.exports = exports = Fieldformat