A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
GPL-3.0 License
Bot releases are hidden (Show)
Published by crookse over 4 years ago
Requires Deno v1.0.5 https://github.com/denoland/deno/releases/tag/v1.0.5
Requires Deno Standard Modules v0.56.0
Published by crookse over 4 years ago
Requires Deno v1.0.4 https://github.com/denoland/deno/releases/tag/v1.0.4
Requires Deno Standard Modules v0.55.0
Published by crookse over 4 years ago
Requires Deno v1.0.3 https://github.com/denoland/deno/releases/tag/v1.0.3
Requires Deno Standard Modules v0.54.0
fix: Server crashes when handling malformed JSON; issue #223; PR #224
Published by crookse over 4 years ago
Requires Deno v1.0.2 https://github.com/denoland/deno/releases/tag/v1.0.2
Requires Deno Standard Modules v0.53.0
feat: Create Drash App script
fix: Resource-level middleware typings; issue https://github.com/drashland/deno-drash/issues/214; PR https://github.com/drashland/deno-drash/pull/215
Published by crookse over 4 years ago
Requires Deno v1.0.1 https://github.com/denoland/deno/releases/tag/v1.0.1
Requires Deno Standard Modules v0.52.0
Published by crookse over 4 years ago
Requires Deno v1.0.0 https://github.com/denoland/deno/releases/tag/v1.0.0
Published by crookse over 4 years ago
Requires Deno v1.0.0-rc1 https://github.com/denoland/deno/releases/tag/v1.0.0-rc1
BREAKING: Remove Drash.Utils
namespace
Published by crookse over 4 years ago
Requires Deno v0.42.0 https://github.com/denoland/deno/releases/tag/v0.42.0
BREAKING: Resource-level middleware now uses Decorators. See the documentation for more information.
feat: Add version
property to Drash
namespace (e.g., Drash.version // v0.42.0
)
feat: server.port
is now public
Published by crookse over 4 years ago
address
server config. HTTP servers now run with HTTPOptions
as argument. for example:const server = new Drash.Http.Server({
response_output: "application/json"
});
server.run({
hostname: "localhost",
port: 1447
});
HTTPSOptions
as argument. documentation is here: Creating An HTTPS Server.const server = new Drash.Http.Server({
response_output: "application/json"
});
server.runTLS({
hostname: "localhost",
port: 1447,
cert: "/path/to/cert_file.crt",
key: "/path/to/key_file.key"
});
resources
server config optional againdefault
keywords--allow-env
requirement. users will NOT see the Deno server started at {address}:{port}
message anymore. they will have to add console.log("Deno server started at {address}:{port}")
themselves now.Published by crookse over 4 years ago
Requires Deno v0.41.0 https://github.com/denoland/deno/releases/tag/v0.41.0
Yes, we skipped v0.40.0.
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
import { Drash } from "https://deno.land/x/[email protected]/mod.ts";
Response-Content-Type
header; use Accept
headerresponse_content_type
URL query param and response_content_type
body param; only the Accept
header is used nowAccept
header support; see Content Negotiation docs (thanks @Guergeiro for bringing this up)this.response.render("template.html", data)
in resourcesdeno doc
support (e.g., https://doc.deno.land/https/deno.land/x/drash/src/http/server.ts)Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
try-catch
when serving faviconDrash.Interfaces.ServerConfigs
[drash]
debug message to [syslog]
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
index.html
response sending content-type of null
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
Published by crookse over 4 years ago
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
Published by crookse over 4 years ago
Requires Deno v0.38.0 https://github.com/denoland/deno/releases/tag/v0.38.0
Published by crookse over 4 years ago
Requires Deno v0.37.1 https://github.com/denoland/deno/releases/tag/v0.37.1
Published by crookse over 4 years ago
Requires Deno v0.36.0 https://github.com/denoland/deno/releases/tag/v0.36.0