Skip to main content
Deno 2 is finally here 🎉️
Learn more

darkflare

Setup

deno install -n darkflare -f -A https://deno.gg/darkflare@v6.1.0/cli

Usage

import { Get, v } from 'https://deno.gg/darkflare@v6.1.0'

Get({
  query: v.object({
    name: v.string()
  })
}, ({ req, res }) => {
  return `hey ${req.query.name}`
})