@nearform/compute-magic

Computes a magic token very slowly

Usage no npm install needed!

<script type="module">
  import nearformComputeMagic from 'https://cdn.skypack.dev/@nearform/compute-magic';
</script>

README

compute-magic

Just a simple very slow function that can be used to showcase perf bottlenecks

Usage

const computeMagic = require('@nearform/compute-magic')

const magic = computeMagic(someInput)
console.log(magic)

API

magic = computeMagic(...args)

Computes a sha512 of 1000x the args

LICENSE

MIT