A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
Go to file
ynnsuis / 장윤수 65a65ea24d
feat(random): Adds a function that generates a random floating-point number between the minimum and maximum. (#53)
* feat(random): Add generating a random floating-point number between min and max

* test(random) : Add tests for random function

* feat : Add random function to math module

* test : Add benchmark for random function

* refactor : Change the words min, max to minimum, maximum

* docs(random) : Add docs about random function

* docs(random): Add docs about random function

* docs(random): Fix documentation typos

* docs(random): Fix documentation typos

* docs(random): Fix spacing

* docs(random): Fix spacing

* docs(random): Update interface heading

* docs(random): Update interface heading

* fix(random): Validate input parameters and throw error for invalid ranges

* test(random) : Update tests for new input validation logic

* docs(random) : Update documentation for new input validation logic
2024-06-15 15:20:54 +09:00
.circleci style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
.github ci(codecov): Add codecov and upload test coverage (#34) 2024-06-13 13:56:41 +09:00
.scripts fix(package.json): Provide correct types for moduleResolution: node, node10, and node16 (#16) 2024-06-03 22:30:32 +09:00
.vscode style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
.yarn/sdks 1.0.0 2024-05-31 16:54:41 +09:00
benchmarks feat(random): Adds a function that generates a random floating-point number between the minimum and maximum. (#53) 2024-06-15 15:20:54 +09:00
docs feat(random): Adds a function that generates a random floating-point number between the minimum and maximum. (#53) 2024-06-15 15:20:54 +09:00
src feat(random): Adds a function that generates a random floating-point number between the minimum and maximum. (#53) 2024-06-15 15:20:54 +09:00
.eslintrc.js style(*): Apply eslint rule (#22) 2024-06-04 10:00:12 +09:00
.gitignore build: Support ESM type declarations & remove test files in dist (#21) 2024-06-04 09:56:07 +09:00
.npmignore 1.0.0 2024-05-31 16:54:41 +09:00
.nvmrc 1.0.0 2024-05-31 16:54:41 +09:00
.prettierignore style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
.prettierrc style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
babel.config.js style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
CHANGELOG.md v1.3.1 2024-06-15 11:56:54 +09:00
codecov.yml ci(codecov): Add codecov and upload test coverage (#34) 2024-06-13 13:56:41 +09:00
LICENSE chore: Add MIT License 2024-06-13 14:01:05 +09:00
package.json v1.3.1 2024-06-15 11:56:54 +09:00
README-ko_kr.md docs(README.md): add codecov badge to expose coverage ratio (#43) 2024-06-13 20:00:10 +09:00
README.md docs(README.md): add codecov badge to expose coverage ratio (#43) 2024-06-13 20:00:10 +09:00
tsconfig.json 1.0.0 2024-05-31 16:54:41 +09:00
tsup.config.ts style: Format some files (#33) 2024-06-12 11:35:49 +09:00
vitest.config.mts style(*): Setup prettier and apply formatting (#24) 2024-06-04 17:19:26 +09:00
yarn.lock build: Support ESM type declarations & remove test files in dist (#21) 2024-06-04 09:56:07 +09:00

es-toolkit · MIT License codecov

English | 한국어

es-toolkit is a state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

  • es-toolkit offers a variety of everyday utility functions with modern implementations, such as debounce, delay, chunk, sum, and pick.
  • Designed with performance in mind, es-toolkit achieves 2-3× better performance in modern JavaScript environments.
  • es-toolkit supports tree shaking out of the box, and reduces JavaScript code by up to 97% compared to other libraries.
  • es-toolkit includes built-in TypeScript support, with straightforward yet robust types. It also provides useful type guards such as isNotNil.
  • es-toolkit is battle-tested with 100% test coverage, ensuring reliability and robustness.

Contributing

We welcome contribution from everyone in the community. Read below for detailed contribution guide.

CONTRIBUTING

License

MIT © Viva Republica, Inc. See LICENSE for details.

Toss