Skip to content

so298/TOTP-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOTP.ts

A TypeScript implementation of RFC6238 https://www.rfc-editor.org/rfc/rfc6238

examples

An example is in src/example.ts

import { generateTOTPFromUri } from "totp-ts";

const uri = 
  "otpauth://totp/hello:world?secret=aaaaaaaa&issuer=so298";

console.log(generateTOTPFromUri(uri));

About

A TypeScript implementation of RFC6238

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published