Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmorten/luath

Fast front-end development tooling in Deno.
https://github.com/cmorten/luath

build-tool cli deno dev-server frontend hmr luath opine

Last synced: about 2 months ago
JSON representation

Fast front-end development tooling in Deno.

Awesome Lists containing this project

README

        


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](https://github.com/cmorten/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):

```bash
# Install Luath
deno install -fqA --unstable --no-check https://deno.land/x/[email protected]/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:

```ts
import { server } from "https://deno.land/x/[email protected]/mod.ts";

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

```ts
import { build } from "https://deno.land/x/[email protected]/mod.ts";

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

## Documentation

Please refer to the [documentation site](https://cmorten.github.io/luath/).

## Examples

Please refer to the [examples documentation](./examples).

## Contributing

Please refer to the [contributing guide](./.github/CONTRIBUTING.md).

---

## License

Luath is licensed under the [MIT License](./LICENSE.md).

Derived works include [vite](https://github.com/vitejs/vite) and [wmr](https://github.com/preactjs/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](https://www.linkedin.com/in/hannah-morten-b1218017a/).