@solar-network/utils
v3.4.0-next.2
Published
Performance oriented implementations of commonly used functions
Downloads
1
Readme
Solar Core - Utilities
Caveats
- The native
map
,filter
,reduce
andforEach
will generally be faster when used on arrays that contain nothing but numerical values. - If you plan to use
formatCurrency
method with node.js for anything else then theen-US
locale 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-US
locale 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
pluralise
method does not support irregular plurals.
Security
If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
Credits
This project exists thanks to all the people who contribute.
License
Please read the separate LICENSE file for details.