DEV Community

Arnaud Dagnelies
Arnaud Dagnelies

Posted on

Day 7-8: webauthn library pimped up

Writing some code is one thing. Making it available as a nice library, packaging it, with documentation, examples, tests, nice error messages... is really a bigger task than just writing the "functionality". Again, I underestimated how much time and effort it takes to make things "nice" while pimping up my "passwordless authentication" package.

Image description

It's halfway there. The package now works properly, there is a CDN, a nice readme, better docs, examples, a playground to interact with the protocol directly... It's actually not really new. It already existed before, I just ripped off the playground from the main site and rewired it to use the new library instead. Luckily everything worked fine.

Image description

However, as I said, it's only halfway there. After moving the repo to its own organisation (to https://github.com/passwordless-id/webauthn ) I probably still have a few links to fix in the docs, the examples and various settings and build stuff. Hopefully it will all be cleared soon. The docs could welcome some more love too and tests would be nice but time is scarce. Let's hope this package can be wrapped up by the end of the week, so that next week can be started freshly, to better focus on the next topic.

Top comments (0)