drash

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.

GPL-3.0 License

Downloads
119
Stars
1.1K
Committers
20

Bot releases are visible (Hide)

drash - v0.2.2

Published by crookse over 5 years ago

Fixes

  • Drash.Http.Response and Drash.Http.Resource can now be overridden properly.
drash - v0.2.1

Published by crookse over 5 years ago

What's New

  • Formatted code using deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts . Thanks prettier author(s)!
drash - v0.2.0

Published by crookse over 5 years ago

What's New

  • Drash.Exceptions.HttpException class. This class takes (code: number, message?: string) as its arguments. When Drash.Http.Server handles an HttpException, it uses the HttpException's code to as the response's status code.
drash - v0.1.1

Published by crookse over 5 years ago

What's New

  • Make Deno server address configurable via address config. Example:
    import Drash from './drash/mod.ts';
    import HomeResource from "./resources/home_resource.ts";
    
    let server = new Drash.Http.Server({
      address: 'localhost:8000',
      response_output: 'application/json',
      resources: [
        HomeResource
      ]
    });
    
    server.run();
    
drash - v0.1.0

Published by crookse over 5 years ago

Initial release

Package Rankings
Top 1.1% on Deno.land
Top 24.17% on Npmjs.org
Badges
Extracted from project README
Drash Land Discord