UNPKG
@lucia-auth/sveltekit
Version:
latest (0.6.11)
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.3
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.3
0.3.2
0.3.0
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
SvelteKit integration for Lucia
github.com/pilcrowOnPaper/lucia
pilcrowOnPaper/lucia
@lucia-auth/sveltekit
/
node_modules
/
@noble
/
hashes
/
src
/
cryptoNode.ts
4 lines
(3 loc)
•
146 B
text/typescript
View Raw
1
2
3
4
import
*
as
nc
from
'node:crypto'
;
export
const
crypto = nc &&
typeof
nc ===
'object'
&&
'webcrypto'
in
nc ? (nc.
webcrypto
as
any
) :
undefined
;