projects
/
squeep-totp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump package version to 1.1.3
[squeep-totp]
/
README.md
diff --git
a/README.md
b/README.md
index 98ceeb90026e61d1624ab1a02f95b1aaafff9abf..6971d2d7216ad57afc08e197dacbfff3fa950c30 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-1,6
+1,6
@@
# @squeep/totp
# @squeep/totp
-Simple helper
s for dealing with One-Time Passwords
.
+Simple helper
classes for dealing with One-Time Passwords of varying flavor
.
## API
## API
@@
-21,4
+21,6
@@
const totp = new TOTP({
});
const token = totp.generate(); // The current token for the key.
});
const token = totp.generate(); // The current token for the key.
+
+const isValid = totp.validate('123456');
```
```