@bitblit/ratchet-warden-common

5.0.551-alpha • Public • Published

@bitblit/ratchet-warden-common

Typescript library to simplify using simplewebauthn and secondary auth methods over GraphQL.

Introduction

I really like using the SimpleWebAuthn library for Authentication but it has a couple pieces of code that I still end up re-writing over and over - adding the secondary login methods (like single-use code sent to email/text) and setting it up to run over GraphQL, which I use regularly and don't really want to add a bunch of special methods when they are boilerplate inside anyway once I nail down storage.

So, Warden handles that stuff for me. Relies heavily on my Ratchet library for supporting code.

You may wish to read the changelog

Installation

yarn install @bitblit/warden

Usage

TBD

Barrel Files

A Note on barrel files - All of Warden's barrel files are one level down. This is because otherwise everything I said above about transitive dependencies gets thrown out the window if you put them all in one big barrel file

Testing

Ha! No, seriously - all testing is done using Jest. To run them:

yarn test

Contributing

Pull requests are welcome, although I'm not sure why you'd be interested!

Readme

Keywords

Package Sidebar

Install

npm i @bitblit/ratchet-warden-common

Weekly Downloads

186

Version

5.0.551-alpha

License

Apache-2.0

Unpacked Size

90.9 kB

Total Files

130

Last publish

Collaborators

  • bitblit