0.17.0 • Published 1 month ago

@yano3nora/ts-utils v0.17.0

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

Usage

API References - deno.land/x

$ 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

$ code src/new-function.ts # add function
$ code src/new-function.test.ts # add test
$ code main.ts # add export

$ deno task dev

build & test

# build
$ deno task build

# link on local
$ deno task link
$ cd ../another-project
$ npm link package-name

Publish

$ git add .
$ git commit -m 'update'

$ export NPM_VERSION_SUB_COMMAND=minor # major | minor | patch
$ export ONE_TIME_PASSWORD=xxxxxx

# dry run
$ deno task publish:dry ${NPM_VERSION_SUB_COMMAND} ${ONE_TIME_PASSWORD}

# run
$ deno task publish:run ${NPM_VERSION_SUB_COMMAND} ${ONE_TIME_PASSWORD}
$ git push --tags && git push
0.17.0

1 month ago

0.16.0

2 months ago

0.16.1

2 months ago

0.15.0

2 months ago

0.14.0

2 months ago

0.10.0

7 months ago

0.12.0

7 months ago

0.8.0

10 months ago

0.13.0

6 months ago

0.13.1

6 months ago

0.13.2

6 months ago

0.5.0

11 months ago

0.13.3

6 months ago

0.13.4

6 months ago

0.7.0

10 months ago

0.6.0

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago