@toss/utils is a package of utility functions which can be used in any environment, including React, Node.js, and Vanilla JS.
$ npm install @toss/utils
$ pnpm add @toss/utils
$ yarn add @toss/utils
- Some of the functions in the
- 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.