Skip to main content

Luath

For Deno front-end developers who like it fast

Current test status PRs are welcome Luath issues Luath stars Luath forks Luath license Luath is maintained

Minimum supported Deno version Luath dependency count Luath dependency outdatedness Luath cached size


Table of Contents

Overview

Luath is a WIP project for providing fast front-end development tooling in Deno.

Installation

Luath can be used either through a command line interface (CLI) or through it’s JavaScript API.

CLI

To install the CLI run:

deno install -f -q -A --unstable https://deno.land/x/luath@0.1.0/luath.ts

And follow any suggestions to update your PATH environment variable.

You can then use the CLI to serve your application, just provide the directory to your index.html.

luath serve --port 4000 ./examples/react

JavaScript API

You can import Luath straight into your project for providing a development server:

import { server } from "https://deno.land/x/luath@0.1.0/mod.ts";

await server();

Examples

To run the examples:

  1. Clone the Luath repo locally:

    git clone git://github.com/cmorten/luath.git --depth 1
    cd luath
  2. Install the Luath CLI:

    deno install -f -q -A --unstable https://deno.land/x/luath@0.1.0/luath.ts
  3. Then run the desired example by passing the directory to the Luath serve command:

    luath serve ./examples/react
  4. Open http://localhost:3000 in a browser

  5. Start editing the example files and keep and an eye on the browser

Contributing

Contributing guide


License

Luath is licensed under the MIT License.

Derived works include vite and wmr. The plan is to attribute specific segments in the appropriate files, but for now their licenses can be found in the root of this repository.