DEV Community

Arnaud Dagnelies
Arnaud Dagnelies

Posted on • Edited on

1

Day 3-4: Published first npm package

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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay