<link rel="icon" href="#">
<script type="module">
try {
- let NanoPow, stats
+ let NanoPow, Cache, stats
try {
({ NanoPow } = await import('../dist/index.js'))
} catch (err) {
console.warn(err)
try {
- ({ NanoPow, stats } = await import('https://unpkg.com/nano-pow@5.1/dist/index.js'))
+ ({ NanoPow } = await import('https://unpkg.com/nano-pow@5.1/dist/index.js'))
} catch (err) {
console.warn(err)
try {
- ({ NanoPow, stats } = await import('https://cdn.jsdelivr.net/npm/nano-pow@5.1/dist/index.js'))
+ ({ NanoPow } = await import('https://cdn.jsdelivr.net/npm/nano-pow@5.1/dist/index.js'))
} catch (err) {
throw new Error(`Failed to load NanoPow ${err}`)
}
}
try {
- ({ stats } = await import('../dist/utils/index.js'))
+ ({ Cache, stats } = await import('../dist/utils/index.js'))
} catch (err) {
console.warn(err)
try {
- ({ NanoPow, stats } = await import('https://unpkg.com/nano-pow@5.1/dist/utils/index.js'))
+ ({ Cache, stats } = await import('https://unpkg.com/nano-pow@5.1/dist/utils/index.js'))
} catch (err) {
console.warn(err)
try {
- ({ NanoPow, stats } = await import('https://cdn.jsdelivr.net/npm/nano-pow@5.1/dist/utils/index.js'))
+ ({ Cache, stats } = await import('https://cdn.jsdelivr.net/npm/nano-pow@5.1/dist/utils/index.js'))
} catch (err) {
throw new Error(`Failed to load NanoPow ${err}`)
}