Skip to content

Commit

Permalink
docs: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed May 24, 2023
1 parent 733d0fd commit 65ebb36
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## turnstile

A type-safe module to validate the response of the [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile) widget on the server.

```ts
import * as turnstile from 'https://deno.land/x/turnstile@v0.1.0/mod.ts'

const result = await turnstile.verify({
secret: '...',
response: '...',
ip: '...'
})
```

###### [Learn more](https://developers.cloudflare.com/turnstile/get-started/server-side-validation)

0 comments on commit 65ebb36

Please sign in to comment.