Friday, April 05, 2024

MFA / 2FA for node.js: Speakeasy, otplib

speakeasy - npm

Speakeasy is a one-time passcode generator, ideal for use in two-factor authentication, that supports Google Authenticator and other two-factor devices.

195K downloads/week, MIT license







TOTP (Time-Based One-Time Password) is a widely-used algorithm for implementing MFA. It generates a unique one-time password (OTP) for the user, which expires after a short period of time.





Time-based (TOTP) and HMAC-based (HOTP) One-Time Password library

otplib is a JavaScript One Time Password (OTP) library for OTP generation and verification.

It implements both HOTP - RFC 4226 and TOTP - RFC 6238

393K downloads / week, MIT license


Earthquakes in New Jersey

Latest Earthquakes @ USGS

magnitude 4.8
7 km N of Whitehouse Station, New Jersey
2024-04-05 14:23:20 (UTC)
40.683°N 74.753°W
4.7 km depth

magnitude 2.2
5 km NNE of Whitehouse Station, New Jersey
2024-03-14 19:00:39 (UTC)


N.J. earthquake rocks East Coast - nj.com


Earthquake shakes parts of New Jersey | PIX11


Beemerville Volcano is New Jersey’s Own Geologic Hotspot - New Jersey Digest
The Beemerville Volcano, more commonly known as Rutan Hill, is New Jersey’s resident—and only—volcanic site. The hill is located in Colesville, New Jersey and is only one remnant of the Garden State’s complex geologic past. Standing at an elevation of 1,020 feet tall, Rutan Hill (thankfully) has been dormant for over 400 million years.
Rutan Hill - Wikipedia