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

darkflare

Setup

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

Usage

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

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