Skip to content

Files

Latest commit

Oct 24, 2024
843c081 · Oct 24, 2024

History

History

utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 8, 2022
Oct 24, 2024
Oct 13, 2022
Oct 24, 2024
Nov 14, 2022
Dec 22, 2023
Oct 24, 2024
Oct 8, 2022
Apr 19, 2024
Oct 24, 2024
Nov 9, 2022
Feb 6, 2023
Feb 6, 2023

@toss/utils

@toss/utils is a package of utility functions which can be used in any environment, including React, Node.js, and Vanilla JS.

Deprecation Notice

Please note that @toss/utils is no longer being maintained. We've moved to a new package called es-toolkit, which provides clearer functionalities and better performance.

Installation

$ npm install @toss/utils
$ pnpm add @toss/utils
$ yarn add @toss/utils

Features

  • Some of the functions in the lodash library is reimplemented in modern JavaScript, thereby providing the same features but reducing bundle size.
  • It is tree-shakable, since it fully supports ECMAScript modules.
  • Functions have types in TypeScript, preventing runtime errors.
  • It includes many validation or formatting functions for several values.