Day 3-4: Published first npm package

Arnaud Dagnelies - Sep 23 '22 - - Dev Community

Here is the package :D

@passwordless-id/webauthn - npm

A small wrapper around the webauthn protocol to make one's life easier.. Latest version: 0.0.10, last published: a month ago. Start using @passwordless-id/webauthn in your project by running `npm i @passwordless-id/webauthn`. There are no other projects in the npm registry using @passwordless-id/webauthn.

favicon npmjs.com

It's not yet completely functional. There are still some issues to fix.

Although it looks trivial ("What, it's just a package?"), it was still time consuming to do.

  • Documenting a bit the code
  • I created an organization "passwordless-id" on both github and npm for future use
  • Fixing details in the package.json
  • Setting a github action to automatically build it
  • Writing the README
  • ...

Currently, I still have issues to publish it automatically, ideally upon bumping the version or making a github release.

It's not yet functional yet, they are things on the TODO list:

  • get the github action pipeline working properly
  • get a proper CDN link to import directly as script
  • add a couple of tests? (difficult to do I guess since it's based on user interaction with the device)
  • improving README / doc / code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .