{"repo":"passwordless-id/webauthn","free":true,"listed":false,"github":"https://github.com/passwordless-id/webauthn","clone":"git clone https://github.com/passwordless-id/webauthn.git","description":"Webauthn / passkeys helper library to make your life easier. Client side, server side and demo included.","language":"TypeScript","stars":610,"topics":["authentication","passkeys","passwordless","webauthn"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"@passwordless-id/webauthn ========================= This library greatly simplifies the usage of passkeys by invoking the WebAuthn protocol more conveniently. It is open source, opinionated, dependency-free and minimalistic. Note: in the latest version 2.4+, the browser field was removed in package.json due to issues how various tooling interpret it. Check out #108 for more details. 👀 Demos --------- - Basic Demo - Passkeys autocomplete - Testing Playground - Authenticators list - Docs These demos are plain HTML/JS, not minimized. Just open the sources in your browser if you are curious. 📦 Installation ---------------- Modules (recommended) The base package contains both client and server side modules. You can import the client submodule or the server depending on your needs. Note: the brackets in the import are important! Alternatives For browsers , it can be imported using a CDN link in the page, or even inside the script itself. Lastly, a CommonJS variant is also available for old Node stacks, to be imported using require('@passwordless-id/webauthn') . It's usage is discouraged though, in favor of the default ES modules. Note that at least NodeJS 19+ is necessary. (The reason is that previous Node versions had no WebCrypto being globally available, making it impossible to have a \"universal build\") 🚀 Getting started ------------------- There are multiple ways to use and invoke the WebAuthn protocol. What follows is just an example of the most straightforward use case. Re","default_branch":null,"files":null,"tree":[],"storefront":"/r/passwordless-id","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/passwordless-id/webauthn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}