From 121abd9f90647e602cfe79267431b40aac1296a6 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Sun, 10 Mar 2024 12:03:14 -0700 Subject: [PATCH] minor doc update --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98ceeb9..6971d2d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # @squeep/totp -Simple helpers for dealing with One-Time Passwords. +Simple helper classes for dealing with One-Time Passwords of varying flavor. ## API @@ -21,4 +21,6 @@ const totp = new TOTP({ }); const token = totp.generate(); // The current token for the key. + +const isValid = totp.validate('123456'); ``` -- 2.45.2