objelly Usage let obj = objelly('HELLO', { replace: ['E', 'A'], toLowerCase: undefined }); console.log(obj); // output: hallo