Overwrite Properties
A tiny module that lets you overwrite an object's properties with a specified value.
Save yourself some time and avoid the headache of recursion.
Getting Started
npm install --save overwrite-properties
Usage
Also shown in tester.js
.
const overwriteProperties = ; const testObject = name: 'Mark' age: 21 job: 'Programmer' loves: 'Github'; console;/*==>{ name: 'goat', age: 'goat', job: 'goat', loves: 'goat' }*/
License
- MIT