0.0.23 • Published 1 year ago

@alshdavid/kit v0.0.23

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

JavaScript Kit Utils

npm install @alshdavid/kit
import { sha256 } from '@alshdavid/kit/crypto'

void (async function main() {
  const foo = await sha256('foo')
})()

From the browser

const kit = await import(
  'https://cdn.jsdelivr.net/npm/@alshdavid/kit@latest/browser/esm/index.js'
)

await kit.localStorage.setItem('foo', 'bar')
kit.log(await alshx.localStorage.getItem('foo'))

// Also automatically added to globalThis
await alshx.localStorage.setItem('foo', 'bar')
console.log(await alshx.localStorage.getItem('foo'))
<script type="importmap">
{
  "imports": {
    "@alshx/kit/": "https://cdn.jsdelivr.net/npm/@alshdavid/kit@latest/browser/esm/"
  }
}
</script>

<script type="module">
  import * as preact from '@alshx/kit/preact.js'
  console.log(preact)
</script>

<script type="module">
  import * as kit from '@alshx/kit/index.js'
  console.log(kit)
</script>
0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.0-local

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.8.6

3 years ago

0.8.5

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.7.0

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago