0.1.1 • Published 3 years ago
objectinator v0.1.1
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