Package Exports
- @simplewebauthn/browser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@simplewebauthn/browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@simplewebauthn/browser
Installation
This package is available on npm:
npm install @simplewebauthn/browser
It can then be imported into a project as usual:
import SimpleWebAuthnBrowser from '@simplewebauthn/browser';
UMD
This package can also be installed via unpkg by including the following script in your page's <head>
element:
<script src="https://unpkg.com/@simplewebauthn/browser/dist/simplewebauthn-browser.min.js"></script>
The library's methods will be available on the global SimpleWebAuthnBrowser
object.
Usage
Check out the example's public/ folder for a practical implementation of this library.
Lower-level API documentation for the methods in this library is available here.