Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
m-dressler/totpGenerate TOTP passwords using a TOTP token
This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
JSR Score
100%
Published
3 weeks ago (0.0.0)
@md/totp
A function to generate TOTP values using a base64 encoded token
Example
ts``` import getTotp from "@md/totp";
const token = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; const totp = getTotp(token); // e.g. "431987"
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@md/totp
Import symbol
import * as mod from "@md/totp";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@md/totp";
Add Package
npx jsr add @md/totp
Import symbol
import * as mod from "@md/totp";
Add Package
yarn dlx jsr add @md/totp
Import symbol
import * as mod from "@md/totp";
Add Package
pnpm dlx jsr add @md/totp
Import symbol
import * as mod from "@md/totp";
Add Package
bunx jsr add @md/totp
Import symbol
import * as mod from "@md/totp";