@phantomcores/utils

Performance oriented implementations of commonly used functions in TypeScript.

Usage no npm install needed!

<script type="module">
  import phantomcoresUtils from 'https://cdn.skypack.dev/@phantomcores/utils';
</script>

README

Utilities

Build Status Codecov License: MIT

Performance oriented implementations of commonly used functions in TypeScript.

Installation

yarn add @phantomcores/utils

Benchmark

git clone git@github.com:ArkEcosystem/utils.git
yarn && yarn bench

Caveats

  • The native map, filter, reduce and forEach will generally be faster when used on arrays that contain nothing but numerical values.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

Credits

License

MIT © ArkEcosystem