# xila

> A node.js server

Latest version **0.0.18** (published 2020-02-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install xila
pnpm add xila
yarn add xila
bun add xila
```

Provides the command `xila`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.18 |
| Published | 2020-02-15 |
| First published | 2018-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Prathyvsh |
| Maintainers | prathyvsh |

## Links

- npm: https://www.npmjs.com/package/xila
- npm.io page: https://npm.io/package/xila

## Recent versions

- 0.0.18 (latest) — 2020-02-15
- 0.0.17 — 2020-02-08
- 0.0.16 — 2019-06-11
- 0.0.15 — 2019-06-11
- 0.0.14 — 2019-06-11
- 0.0.13 — 2018-07-25
- 0.0.12 — 2018-07-18
- 0.0.11 — 2018-04-10
- 0.0.10 — 2018-03-31
- 0.0.9 — 2018-03-28
- 0.0.8 — 2018-03-27
- 0.0.7 — 2018-03-27
- 0.0.6 — 2018-03-09
- 0.0.5 — 2018-02-13
- 0.0.4 — 2018-02-12
- … 3 more at https://npm.io/package/xila/versions

## README

# Xila
A minimal node.js server

## Usage

### Setting up a server

```
import * as xila from "xila";

const server = xila.serve("Welcome to Xila!");

server.listen(4001);
```

## Sample routes

A sample JSON route can be registered as:

```
import * as xila from "xila";

const server = xila.serve(
    xila.get("/pranav", xila.json({hello: 'there'})));

server.listen(4000);

server.on("error", console.log);
```

---
_Source: https://npm.io/package/xila · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
