Skip to content

Commit f779497

Browse files
author
Petteri Kautonen
authored
Update README.md
1 parent a3157c7 commit f779497

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ import { decodeMigrationUri } from "../src";
77

88
void decodeMigrationUri("otpauth-migration://offline?data=Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7%2F%2F%2F%2F%2FwE%3D").then(result = console.log(result));
99
```
10+
output:
11+
12+
```javascript
13+
[
14+
{
15+
algorithm: "ALGO_SHA1",
16+
digits: 1,
17+
issuer: "2FAS",
18+
name: "Test Token",
19+
secret: "0UEpklM=",
20+
secretBase32: "2FASTEST",
21+
type: "OTP_TOTP"
22+
}
23+
]
24+
```
1025

1126
# Thanks to
12-
* [google-authenticator-exporter](https://github.com/krissrex/google-authenticator-exporter) project to which the entire code is based upon.
27+
* [google-authenticator-exporter](https://github.com/krissrex/google-authenticator-exporter) project to which the entire code is based upon.
28+
* [TypeScript NPM Package Publishing: A Beginner’s Guide](https://pauloe-me.medium.com/typescript-npm-package-publishing-a-beginners-guide-40b95908e69c)

0 commit comments

Comments
 (0)