From: Justin Wind Date: Sun, 10 Mar 2024 19:03:14 +0000 (-0700) Subject: minor doc update X-Git-Tag: v1.1.3~1 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=121abd9f90647e602cfe79267431b40aac1296a6;p=squeep-totp minor doc update --- 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'); ```