Commit Graph

71 Commits

Author SHA1 Message Date
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
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
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
정해준
ba1e976c5a
feat(forEachRight): add forEachRight (#119)
* feat(forEachRight): Add forEachRight function

* feat(forEachRight): Add forEachRight test code

* feat(forEachRight): Add forEachRight function bench

* feat(forEachRight): Add forEachRight function docs

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

* Update docs/reference/array/forEachRight.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-03 10:43:50 +09:00
Dongkyu Kim
834d50c389
feat(unzipWith): add unzipWith (#113)
* feat(array): add unzipWith

* docs(array): add unzipWith reference

* perf: refactoring unzipWith bench

* docs(array): add vitepress

* Apply suggestions from code review

* Update unzipWith.ts

* Update src/array/unzipWith.ts

* Update benchmarks/unzipWith.bench.ts

* Update benchmarks/unzipWith.bench.ts

* Update src/array/unzipWith.spec.ts

* Update src/array/unzipWith.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-03 10:40:33 +09:00
HyunWoo Lee (Nunu Lee)
373d63b980
feat(countBy): Add countBy function (#117)
* [feature/#88] Add countBy.ts

* [feature/#88] Add benchmark test of countBy

* [feature/#88] Add test code

* [feature/#88] Add countBy references

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

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-03 10:09:12 +09:00
DevGon
a82eb933ae
feat(without): Add without function (#115)
* feat(without): Add `without` function

* feat(without): Add `without` function test code

* feat(without): Add `without` function docs

* feat(without): Add `without` function bench

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

* Apply suggestions from code review

* Update src/array/without.ts

* Update src/array/without.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-03 10:08:47 +09:00
hansolbangul
d870b1e7fe
feat(fill): Add fill function (#109)
* feat(fill): Add fill function

* feat(fill): Add test/brench code

* feat(fill): Update docs

* feat(fill): Refactor based on code review

* refactor(fill): array to arr

* fix(fill): update `fill` function signature to support mixed types
2024-07-03 09:30:09 +09:00
jgjgill
02f14b3697
feat(sampleSize): Add sampleSize (#101) 2024-06-30 19:36:26 +09:00
Dongho Kim
6c9c0d1c26
docs(groupBy, keyBy): Update type of key to PropertyKey (#100) 2024-06-30 15:49:13 +09:00
Dongho Kim
184ce1778d
feat(keyBy): Add keyBy (#93)
* feat(keyBy): Add keyBy

* docs(keyBy): Translate title into Korean

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

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-06-30 12:17:00 +09:00
Lich
537745077f
feat(zipObject): Add zipObject function (#92)
* feat(zipObject): Add `zipObject` function that combines keys and values into an object

* feat(zipObject): Add `zipObject` function test code

* feat(zipObject): Add `zipObject` function bench

* feat(zipObject): Add `zipObject` function docs

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

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-06-29 20:57:58 +09:00
Sojin Park
a8d7e03a79 docs(compact): Fix return type of compact 2024-06-28 23:23:59 +09:00
Sojin Park
60ae59bcfe feat(compact): Add compact 2024-06-28 22:23:52 +09:00
Sojin Park
ed67b538dc docs(minBy, maxBy): Improve the docs for minBy & maxBy 2024-06-28 22:03:54 +09:00
Sojin Park
73cd00ecb7 chore: Move minBy & maxBy to array utilities 2024-06-28 21:52:19 +09:00
Dongho Kim
cfc47e4b83
style(*): Apply formatting in markdown files (#76) 2024-06-19 17:29:50 +09:00
raon0211
fde86f7f4b docs: Add docs for uniqBy and uniqWith 2024-06-13 22:20:12 +09:00
Minsoo Kim
cf65b2c601
style(*): Setup prettier and apply formatting (#24)
* chore: add prettierrc

* chore: apply format with prettier config

* chore: eslint error fix
2024-06-04 17:19:26 +09:00
raon0211
7203b56367 1.0.0 2024-05-31 16:54:41 +09:00