0.1.1 • Published 2 years ago
objectinator v0.1.1
objectinator
Transform an array into an object
Installation
npm i objectinator
or if you use yarn or pnpm
yarn add objectinator
pnpm
pnpm add objectinator
Usage
import { transformIntoObject } from 'objectinator';
let arr = ["Hi", "Hello"]
const obj = transformIntoObject(arr)
console.log(obj)
License
Licensed under the Apache License 2.0