module.exports = {
    createFile: (template, options)=> {

        for (let key in options) {
            template = template.replace(`{{${key}}}`, options[key]);
        }

        return template;
    },
    createObjString: (object)=> {
        var objString = "{\n"
        for (let key in object) {
            if(typeof(object[key])=="string"){
                objString+=`\t${key} : '${object[key]}',\n`
            }else{
                objString+=`\t${key} : ${object[key]},\n`
            }
        }
        objString+="}"
        return objString
    }
}