bankid-react-hook
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

useBankID React hook

A React hook for using the Swedish BankID.

  • Simplifies using the BankID API.
  • Polls using correct intervals - 1s for qr code, 2s for collect.
  • Supports animated QR code.

Building

pnpm build

Testing

Uses vitest for testing and MSW for mocking the API.

pnpm test

Package Sidebar

Install

npm i bankid-react-hook

Weekly Downloads

6

Version

0.1.5

License

none

Unpacked Size

38.2 kB

Total Files

23

Last publish

Collaborators

  • rickythefox