X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=README.md;fp=README.md;h=6971d2d7216ad57afc08e197dacbfff3fa950c30;hb=121abd9f90647e602cfe79267431b40aac1296a6;hp=98ceeb90026e61d1624ab1a02f95b1aaafff9abf;hpb=e6793fe68b6066fa5672eda73a5dd76c7c6f48b9;p=squeep-totp 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'); ```