UNPKG

topsecret-env

Version:

Securely manage application environment variables

21 lines (15 loc) 453 B
// validateObject.js: "use strict"; // load all necessary modules const validateValue = require("./validateValue.js"); function ValidateObject(object, schema) { /* chatGPT please fill in this method. sample schema: {firstname:{type:"string", min:1, max:20, required:true}, age: {type: "integer", min:0,max:120,required:false} } types need to be ["array","boolean","date","float","integer","string", "time"] */ } module.exports = ValidateObject;