Write the same code on client and server. At last.
Simple error handling helper.
U2F 2-step authentication strategy for Passport.
U2F 2-factor authentication library
Access U2F USB/HID keys directly, without browser
Convert character encodings in pure javascript.