array-map-to-object

v0.0.13
Creates a new object with the returned keys and values of calling a provided function on every element in the calling array.
map object array lookup convert

build

rm -rf dist && tsc

docs:build

typedoc --cleanOutputDir --readme none --entryPoints src/index.ts --out 'docs (api)'

lint

eslint --ignore-path .gitignore --cache --max-warnings 0 --ext js,jsx,ts,tsx,vue --fix .

format

prettier . --write

test

jest --coverage

prepublishOnly

npm run build

prerelease

npm-run-all -p lint test format docs:build

release

(git diff --quiet && git diff --staged --quiet || git commit -am 'format code') && git checkout master && git pull origin master && git push --follow-tags origin master && npm publish
npm i array-map-to-object

Metadata

  • MIT
  • Whatever
  • Özüm Eldoğan
  • released 2/9/2023

Downloads

Maintainers