GithubHelp home page GithubHelp logo

reno-router / reno Goto Github PK

View Code? Open in Web Editor NEW
132.0 132.0 4.0 2.44 MB

A thin, testable routing library designed to sit on top of Deno's standard HTTP module

License: MIT License

TypeScript 100.00% Makefile 0.01%
deno http router router-as-a-function routing std typescript

reno's People

Contributors

dependabot[bot] avatar evergreen-abandoned-jw avatar jamesseanwright avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reno's Issues

withQueryString Method

Would be nice to have a typed withQueryString method, similar to the withJsonBody or withFormBody, but for parsing/typing query string parameters.

Suggestion: implement route params instead of regex

Hi, thanks for this clean and minimal router! One thing I think that can be implemented is route params, like :id or {id}. Regex is powerful, but really verbose to write and could be hard to read, and for a route, regex is not that useful I think.

What do you think?

Cannot import package

Hey, I was just checking out reno it seemed pretty neat but when I tried importing reno as showed in the first example:

import { createRouter, AugmentedRequest, createRouteMap, textResponse, jsonResponse, streamResponse, } from "https://deno.land/x/[email protected]/reno/mod.ts";

I'm getting this error
error: Import 'https://cdn.pika.dev/-/@sinonjs/[email protected]/dist=es2019,mode=types/index.d.ts' failed: 404 Not Found

Versions:
deno 1.0.1
v8 8.4.300
typescript 3.9.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.