array-map-to-object

v0.0.4
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 map array to object

build

rm -rf dist && microbundle

docs:build

typedoc --readme none --plugin typedoc-plugin-example-tag,typedoc-plugin-markdown --theme markdown --mode file --out api && cat README-TEMPLATE.md api/README.md > README.md && rm -rf api

lint

eslint --ignore-path .gitignore --cache 'src/**/*.+(js|jsx|ts|tsx|vue)'

format

prettier --write --config .prettierrc --check 'src/**/*.+(js|jsx|json|less|css|ts|tsx|md|vue|gql)'

test

NODE_ENV=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

Metadata

  • MIT
  • Whatever
  • Özüm Eldoğan
  • released 9/5/2019

Downloads

Maintainers