Skip to content

cmorten/luath

Repository files navigation

Deno zooming through the lighting storm that is front-end development

Luath

Fast front-end development tooling in Deno.

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

Overview

Luath (/l̪ˠuə/ - Scottish Gaelic for fast) is a front-end development and build tool for Deno with:

  1. A development server for serving your application via ESM with hot module replacement and support for a wide range of modern features.
  2. A build command for bundling your application code with deno-rollup.

Features

  • 👩‍💻 Quick Start CLI
  • 🔥 Fast Hot Module Replacement (HMR)
  • 🍣 Rollup Plugin Compatible
  • 🗿 Static File Serving
  • 👨‍🎤 JSX and TypeScript Support
  • 🎨 PostCSS and CSS Module Support
  • 📒 JSON and Image Import Support

Installation

Luath can be used either through a command line interface (CLI):

# Install Luath
deno install -fqA --unstable --no-check https://deno.land/x/luath@0.9.1/luath.ts

# Change directory to example
cd ./examples/react

# Serve the example
luath serve

# Build production assets for the example
luath build

# Serve the example production assets
luath run

Or through it's JavaScript API:

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

await server({ root: "./examples/vanilla" });
import { build } from "https://deno.land/x/luath@0.9.1/mod.ts";

await build({ root: "./examples/vanilla" });

Documentation

Please refer to the documentation site.

Examples

Please refer to the examples documentation.

Contributing

Please refer to the 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.

Icon designed and created by Hannah Morten.