Skip to content

Commit

Permalink
docs: update banner
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Jan 11, 2024
1 parent f0fc110 commit 7177124
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# foronce
<p text-align="center">
<img src="https://og.barelyhuman.xyz/generate?fontSize=20&title=foronce&subtitle=The+OTP+Library&fontSizeTwo=8&color=%23a1a1aa&backgroundColor=%2318181b" />
</p>

- [foronce](#foronce)
- [Usage](#usage)
- [Examples](#examples)
- [One Time Email Validation](#one-time-email-validation)
- [API](#api)

> TOTP in a few functions
- [Usage](#usage)
- [Examples](#examples)
- [One Time Email Validation](#one-time-email-validation)
- [API](#api)

## Usage

Expand All @@ -21,7 +20,7 @@
#### One Time Email Validation

```ts
import { generateTOTPSecret, totp, isTOTPValid } from 'foronce'
import { generateTOTPSecret, isTOTPValid, totp } from 'foronce'

app.post('/login', (req, res) => {
const email = req.body.email
Expand Down

0 comments on commit 7177124

Please sign in to comment.