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.20.1

Published by crookse almost 5 years ago

Features:

  • Path objects returned from Drash.Util.Exports.getFileSystemStructure() have new method:
    • isDirectory() - Used to check if the path object is a directory.

Fixes:

  • Docs not compiling Vue routes property because directories were being imported as import some_dir from some_dir. Checking for isDirectory() fixes this.

Requirements:

Deno v0.20.0
Deno Standard Modules v0.20.0

drash - v0.20.0

Published by crookse about 5 years ago

Requirements:

Deno v0.20.0
Deno Standard Modules v0.20.0

drash - v0.19.1

Published by crookse about 5 years ago

Fixes:

See #83 (405 being thrown instead of 500)

Requirements:

Deno v0.19.0
Deno Standard Modules v0.19.0

drash - v0.19.0

Published by crookse about 5 years ago

Requirements:

Deno v0.19.0
Deno Standard Modules v0.19.0

drash - v0.18.1

Published by crookse about 5 years ago

Requirements:

Deno v0.18.0
Deno Standard Modules v0.18.0

drash - v0.18.0

Published by crookse about 5 years ago

Requirements:

Deno v0.18.0
Deno Standard Modules v0.17.0

drash - v0.17.0

Published by crookse about 5 years ago

Requirements:

Deno v0.17.0
Deno Standard Modules v0.17.0

drash - v0.16.2

Published by crookse about 5 years ago

Automate version bumping using /path/to/deno-drash/bump_versions.ts. Use console script: /path/to/deno-drash/console/bump_versions

drash - v0.16.1

Published by crookse about 5 years ago

Upgrade to use Deno Standard Modules v0.16.0.

Requirements:

Deno v0.16.0
Deno Standard Modules v0.16.0

drash - v0.16.0

Published by crookse about 5 years ago

Upgrade to use Deno v0.16.0.

Requirements:

Deno v0.16.0
Deno Standard Modules v0.15.0

drash - v0.15.0

Published by crookse about 5 years ago

Upgrade to use Deno v0.15.0.

Requirements:

Deno v0.15.0
Deno Standard Modules v0.15.0

drash - v0.14.0

Published by crookse about 5 years ago

Upgrade to use Deno v0.14.0.

Requirements:

Deno v0.14.0
Deno Standard Modules v0.12.0

drash - v0.13.0

Published by crookse about 5 years ago

Upgrade to use Deno v0.13.0.

Requirements:

Deno v0.13.0
Deno Standard Modules v0.12.0

drash - v0.12.0

Published by crookse over 5 years ago

Upgrade to use Deno v0.12.0.

Requirements:

Deno v0.12.0
Deno Standard Modules v0.12.0

drash - v0.11.0

Published by crookse over 5 years ago

Upgrade to use Deno v0.11.0.

Requirements:

Deno v0.11.0
Deno Standard Modules v0.11.0

drash - v0.10.0

Published by crookse over 5 years ago

Upgrade to use Deno v0.10.0.

Requirements:

Deno v0.10.0
Deno Standard Modules v0.9.0

drash - v0.9.0

Published by crookse over 5 years ago

Bumping minor versions to match Deno releases.

drash - v0.8.6

Published by crookse over 5 years ago

  • file.path no longer exists when reading files via Deno.readFileSync(). The documentation and tests were heavily reliant on file.path, so that change pretty much broke half of Drash's codebase. fs.walkSync() is now used to read a filesystem's structure. It is wrapped in Drash.Util.Exports.getFileSystemStructure(). getFileSystemStructure() returns the following:

    {
      basename: "filename",
      extension: "extension", // does not account for .min.extension or similar extensions
      filename: "filename.extension",
      path: "/path/to/the/file/dir/filename.extension",
      pathname: "/path/to/the/file/dir",
      snake_cased: "filename_extension"
    }
    
  • Drash.Http.Request was removed. ServerRequest no longer needs the Drash.Http.Request wrapper. ServerRequest works as expected when serving static paths and when hydrating it with useful properties that were used in Drash.Http.Request. However, ServerRequest can't be used as a type in function/method definitions because the compiler gets mad (e.g., myFunc(myParam: ServerRequest)). This is because the said useful properties don't exist on ServerRequest.

drash - v0.8.5

Published by crookse over 5 years ago

Support deno and deno_std v0.9.0.

Added REQUIREMENTS.md for compatibility tracking/info.

drash - v0.8.4

Published by crookse over 5 years ago

Drash can now use the following Deno versions:

>= 0.3.7 <= 0.5.0

Deno Standard Modules is still at v0.3.4.

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