1.0.2 • Published 3 years ago
create-object-with-keys v1.0.2
create-object-with-keys
A Simple Package to create object with keys.
Installation
Install via NPM:
npm install create-object-with-keys
Usage
javascript
const myObj = require("create-object-with-keys");
myObj.createObject('key1', 'key2', 'key3'); // {key1: null, key2: null, key3: null }