Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
dagnelies committed Nov 23, 2022
1 parent 09332f5 commit eb4cf53
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Check out the demos:
Installation / Usage
--------------------

**REQUIRES NODE v19+!!!** (because the `WebCrypto` is only available as `crypto` global starting from node 19!)
### NPM / Node

NPM:
*REQUIRES NODE v19+!!!* (because the `WebCrypto` is only available as `crypto` global starting from node 19!)

```bash
npm install @passwordless-id/webauthn
Expand All @@ -27,9 +27,10 @@ npm install @passwordless-id/webauthn
import * as webauthn from '@passwordless-id/webauthn'
```

Browser:

```js
### Browser

```html
<script type="module">
import * as webauthn from 'https://unpkg.com/@passwordless-id/webauthn'
</script>
Expand Down

0 comments on commit eb4cf53

Please sign in to comment.