Use passkeys
Author: freganteCreated Apr 16, 2026Updated Apr 22, 2026
Labelsenhancement
Description
npmjs.com supports passkeys as 2FA, it would be great if np could attempt to use them directly, prompting a native TouchID popup.
Possible implementation
It's not clear whether Node can prompt a passkey validation for any third party domains. https://github.com/Mikescops/node-native-keychain might contain examples
Alternatives
I'm currently using the passkey via the browser, but this requires one extra key press, one page load and one extra click:
Source: sindresorhus/np