datapilot-cli
Version:
Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform
20 lines (15 loc) • 316 B
JavaScript
class DataValidations {
constructor(model) {
this.model = model || {};
}
add(address, validation) {
return (this.model[address] = validation);
}
find(address) {
return this.model[address];
}
remove(address) {
this.model[address] = undefined;
}
}
module.exports = DataValidations;