ts-utils
Usage
$ npm i @yano3nora/ts-utils
import { objectByKeys } from '@yano3nora/ts-utils'
objectByKeys([1, 2, 3], (key) => Number(key) * 10)
// => { '1': 10, '2': 20, '3': 30 }
Development
$ deno task dev
build & test
# build
$ deno task build
# link on local
$ deno task link
$ cd ../another-project
$ npm link package-name
publish
# dry run
$ deno task publish:dry ${NPM_VERSION_SUB_COMMAND} # major | minor | patch
# run
$ deno task publish:run ${NPM_VERSION_SUB_COMMAND}
$ git push --tags