Lead Maintainer: Brian Faust
- The native
map,filter,reduceandforEachwill generally be faster when used on arrays that contain nothing but numerical values. - If you plan to use
formatCurrencymethod with node.js for anything else then theen-USlocale you'll have to make sure to properly setup https://github.com/unicode-org/full-icu-npm as node.js itself only ships with theen-USlocale by default unless specifically build with more locales. - Do not use the
is*methods of this package inside the Node.js VM as the results could be misleading. - The
pluralizemethod does not support irregular plurals. Check blakeembrey/pluralize if you need support for those.
npm install @arkecosystem/utilsyarn add @arkecosystem/utilspnpm add @arkecosystem/utilsnpm run test -- --coverageyarn test --coveragepnpm run test -- --coveragegit clone [email protected]:ArkEcosystem/utils.gitnpm install
npm run benchyarn install
yarn benchpnpm install
pnpm run benchIf you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.