🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

bankid-react-hook

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bankid-react-hook

React hook for integrating Swedish BankID

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

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

Keywords

typescript

FAQs

Package last updated on 29 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts