Attributes
Includes Deno configuration
Repository
Current version released
11 months ago
darkflare
Warning: darkflare v5 is just a transitional version to v6 and 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. v6 will be more stable again and darkflare will finally achieve it’s full potential with v6.
Setup
Install/Update
deno install -n darkflare -f -A https://deno.gg/darkflare@v5.1.0/cli
Usage
import { Get, v } from 'https://deno.gg/darkflare@v5.1.0'
Get({
query: v.object({
name: v.string()
})
}, ({ req }) => {
return `hey ${req.query.name}`
})