Commit Graph

168 Commits

Author SHA1 Message Date
Youngjun Choi
3441d7d8d0
feat(sumBy): add sumBy (#198)
* feat: add sumBy function

* feat: add sumBy test

* feat: add sumBy bench

* feat: add sumBy documentation
2024-07-15 08:25:49 +09:00
Sojin Park
e3cd91f59d docs: Elaborate docs for es-toolkit/compat 2024-07-15 00:02:40 +09:00
Sojin Park
acb74650a6 feat: Introduce es-toolkit/compat, and add chunk in compat 2024-07-14 23:55:52 +09:00
Sojin Park
ba35a8da53 v1.10.0 2024-07-14 18:22:27 +09:00
Sojin Park
9b6bf6dfb4 docs(negate): Fix docs for negate 2024-07-14 18:14:23 +09:00
Sojin Park
cdc3282060 docs(negate): Add jsdoc for negate 2024-07-14 18:11:36 +09:00
CreeJee
bda3bef5c3
feat(negate): Add negate (#177)
* feat(negate): add negate base lodash implement

* Update docs/ko/reference/function/negate.md

* Update negate.md

* Update negate.md

* Update negate.spec.ts

* Update src/function/negate.ts

* Update src/function/index.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-14 18:10:01 +09:00
Touhid Rahman
4b00379320
feat(isEqual): add isEqual (#174)
* feat(isEqual): add isEqual

* chore(isEqual): rename variables

* fix(isEqual): add missing array equality

* Update isEqual.ts

* Update isEqual.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-14 18:01:57 +09:00
Sojin Park
f5b66fe650 docs(clone): Fix docs for clone 2024-07-14 17:49:22 +09:00
Sojin Park
dd267f9e79 feat(clone): Add support for sets & maps 2024-07-14 17:48:07 +09:00
Jun
128147b108
feat(clone): Add clone (#155)
* feat: add clone(shallow copy) implementaion and test codes

* chore: add benchamark of clone

* docs: add docs of clone

* chore: bench number

* Update docs/ko/reference/object/clone.md

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-14 17:46:25 +09:00
Sojin Park
eb0382adfa Update CONTRIBUTING.md 2024-07-14 17:41:45 +09:00
Sojin Park
8b1ee79ac0 docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
Sojin Park
9adffa0bb3 docs: Add missing zh_hans docs 2024-07-14 17:27:12 +09:00
Sojin Park
21d6530e16 feat(camelCase): Add camelCase 2024-07-14 17:23:57 +09:00
Sojin Park
489ac76fc6 perf(isNil): Make checks for isNil more simple 2024-07-14 17:11:47 +09:00
Bert Verhelst
a61d77790b
chore(gitignore): add vscode and intellij ide folders to gitignore (#164)
* chore(gitignore): add vscode and intellij ide folders to gitignore

* Update .gitignore

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-14 17:03:06 +09:00
Sojin Park
14ec315258 fix: Support cases like foo2bar in string functions 2024-07-14 16:55:45 +09:00
Sojin Park
f44a77682c refactor: Refactor string functions 2024-07-14 16:27:13 +09:00
Sojin Park
98b1ca8859 fix: Fix import of flatten for Deno 2024-07-14 16:22:19 +09:00
Siddhartha Sarkar
a8398d2912
docs: Fix casing for kebabCase text (#180) 2024-07-14 16:06:42 +09:00
Sojin Park
0fdc90d39b chore: Apply code review of initial 2024-07-14 15:55:22 +09:00
minsuKang
15a1a3c014
feat(initial): add initial (#188)
* add initial function

* add initial test case

* add initial bench mark

* add initial docs
2024-07-14 15:54:17 +09:00
Bert Verhelst
6606d5ba84
docs: Fix typo in kebab case docs (#169) 2024-07-12 20:15:32 +09:00
Bert Verhelst
b1cb93355a
feat(lowerCase): Add lowerCase function (#166)
* feat(lowerCase): Add lowerCase function

* Update docs/ko/reference/string/lowerCase.md

* Update docs/ko/reference/string/lowerCase.md

* Update docs/reference/string/lowerCase.md

Co-authored-by: Evan Moon <bboydart91@gmail.com>

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Evan Moon <bboydart91@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-12 10:17:34 +09:00
Bert Verhelst
541b89dc0d
feat(kebabCase): Add kebabCase function (#162)
* feat(kebabCase): Add kebabCase function

Very similar to snakeCase

* Update docs/ko/reference/string/kebabCase.md

* Update snakeCase.md

* Create kebabCase.md

* Update snakeCase.md

* Update docs/.vitepress/ko.mts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-12 10:14:30 +09:00
BlackWhite
e9ede74362
docs: Translate Simplified Chinese (#165)
* Translate Simplified Chinese

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Update docs/.vitepress/shared.mts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-12 10:08:55 +09:00
Atajan
16d326c4b2
feat(capitalize): add capitalize (#161)
* feat(capitalize): add capitalize

* fix(capitalize): return type

* Update docs/ko/reference/string/capitalize.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-12 10:07:40 +09:00
Gromit (전민재)
ae69076d3c
feat(flattenDeep): add flattenDeep function (#160) 2024-07-12 09:56:21 +09:00
Doga Genc
34be6d7611
perf(sum): Improve performance of sum (#167) 2024-07-12 09:21:01 +09:00
정해준
6aca4b2f4a
fix(snakeCase): fix typo (#157) 2024-07-11 15:48:16 +09:00
원동휘
ea66835ffb
feat(toFilled): Add toFilled (#154)
* feat: add toFilled

* feat: add test for toFilled

* feat: add bench for toFilled

* docs: add docs for toFilled

* chore: Modified benchmark wording

* Update benchmarks/toFilled.bench.ts

Co-authored-by: jgjgill <79239852+jgjgill@users.noreply.github.com>

* fix: toFilled benchmark

* Apply suggestions from code review

* Update docs/ko/reference/array/toFilled.md

* Update docs/reference/array/toFilled.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: jgjgill <79239852+jgjgill@users.noreply.github.com>
2024-07-11 10:55:29 +09:00
정해준
d48900fa55
feat(snakeCase): add snakeCase (#152)
* feat(snakeCase): Add caseSplitPattern RegExp const

* feat(snakeCase): Add caseSplitPattern test code

* feat(snakeCase): Add snakeCase function

* feat(snakeCase): Add snakeCase test code

* feat(snakeCase): Add snakeCase docs

* feat(snakeCase): Add snakeCase benchmarks

* chore: Add string export

* fix(snakeCase): constants public api

* Update docs/ko/reference/string/snakeCase.md

* Update docs/ko/reference/string/snakeCase.md

* Update docs/reference/string/snakeCase.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-11 09:14:09 +09:00
minsuKang
883553b39b
feat(last): Add last (#149)
* add last function

* add last test case

* add last bench mark

* add last docs

* fix ko last docs comment

* add last en.mts, ko.mts

* Update src/array/last.ts

* Update src/array/last.spec.ts

* Update docs/reference/array/last.md

* Update docs/ko/reference/array/last.md

* Update docs/ko/reference/array/last.md

* Update docs/reference/array/last.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-11 09:05:13 +09:00
raon0211
e4d906358a docs: Fix typo in unzip 2024-07-10 09:59:43 +09:00
raon0211
85d4628623 v1.9.0 2024-07-10 09:57:53 +09:00
Lich
27b6c8f521
feat(tail): add tail function (#143)
* feat(tail): add tail function

* feat(tail): add tail test code

* feat(tail): add tail benchmark

* feat(tail): add tail docs

* Update docs/ko/reference/array/tail.md

* Update docs/ko/reference/array/tail.md

* Update docs/reference/array/tail.md

* Update docs/reference/array/tail.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-10 09:52:12 +09:00
Gromit (전민재)
7c824629ee
feat(flatten): add flatten (#147)
* feat(flatten): add faltten (#137)

* fix: fix lint

* fix: fix test code description

* test(flatten): add test case

* Update docs/ko/reference/array/flatten.md

* Update docs/ko/reference/array/flatten.md

* Update docs/ko/reference/array/flatten.md

* Update docs/reference/array/flatten.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-10 09:49:26 +09:00
Dongho Kim
3c8d105900
chore: Disable 'jsdoc/require-jsdoc' eslint rule (#146) 2024-07-09 23:59:55 +09:00
Dongho Kim
23f31e748c
docs(invert): Ensure JSDoc visibility for invert function (#145) 2024-07-09 23:57:25 +09:00
Dongho Kim
3d64af3aab
docs(range): Fix docs for range (#144) 2024-07-09 23:57:01 +09:00
ethan
6f60b786d5
docs(minBy): Fix example in minBy (#141)
change the returns : { a : 3 } to { a : 1 }
2024-07-09 20:37:00 +09:00
Dongkyu Kim
2ce004c91b
chore(package.json): build script (#129)
* fix: build script

* fix: add shebangs
2024-07-08 23:01:09 +09:00
raon0211
0e7e5c177c docs: Fix docs for range 2024-07-08 21:39:59 +09:00
raon0211
1808025e30 docs: Add docs of unzip to the sidebar 2024-07-08 21:37:52 +09:00
seunghee
208cb09c8b
feat(unzip): add unzip (#130)
* feat: unzip function

* test: unzip test

* chore: unzip bench

* docs: unzip

* docs: unzip

* docs: unzip

* Update src/array/unzip.ts

* Update docs/ko/reference/array/unzip.md

* Update src/array/unzip.ts

* Update docs/reference/array/unzip.md

* Update unzip.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-08 21:35:45 +09:00
Lich
618f8ac060
feat(head): add head (#131) 2024-07-08 15:30:40 +09:00
PiQuark6046
a2e42b8d7e
chore: add provenance flags to npm command line (#127) 2024-07-06 13:58:46 +09:00
raon0211
ba768f01c2 v1.8.0 2024-07-05 10:13:41 +09:00
hanna
1eada4d85d
feat(orderBy): Add orderBy (#123)
* feat(orderBy): add orderBy function

* feat(orderBy): add orderBy test code

* feat(orderBy): add orderBy bench

* feat(orderBy): add orderBy function docs

* feat(orderBy): add orderBy vitepress docs

* fix: test function & add the extend orders feature

* Update src/array/orderBy.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-05 10:11:56 +09:00