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