Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
darkflare
Warning: darkflare v5 MAY contain minor bugs as of now and we still need to update the docs. So until this warning is removed from the readme, just use the v4 or play with the v5.
Setup
Install CLI
deno install -n darkflare --allow-all https://deno.gg/darkflare@v5.0.3/cli
Update CLI
deno install -n darkflare -f --allow-all https://deno.gg/darkflare@v5.0.3/cli
Usage
import { Get, v } from 'https://deno.gg/darkflare@v5.0.3'
Get({
query: v.object({
name: v.string()
})
}, ({ req }) => {
return `hey ${req.query.name}`
})