# aurelia-templating-router

> An implementation of the RouteLoader interface for use with the router module. Also contains a custom element that allows the templating engine to display the current route.

Latest version **1.5.0** (published 2022-04-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install aurelia-templating-router
pnpm add aurelia-templating-router
yarn add aurelia-templating-router
bun add aurelia-templating-router
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2022-04-12 |
| First published | 2015-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 229.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 25 |
| Author | Rob Eisenberg |
| Maintainers | aureliaeffect |
| Keywords | aurelia, templating, html, router, routing |

## Links

- npm: https://www.npmjs.com/package/aurelia-templating-router
- Repository: https://github.com/aurelia/templating-router
- Homepage: http://aurelia.io
- Issues: https://github.com/aurelia/templating-router/issues
- npm.io page: https://npm.io/package/aurelia-templating-router

## Dependencies (7)

- [aurelia-pal](https://npm.io/package/aurelia-pal.md) ^1.3.0
- [aurelia-path](https://npm.io/package/aurelia-path.md) ^1.1.7
- [aurelia-binding](https://npm.io/package/aurelia-binding.md) ^2.0.0
- [aurelia-logging](https://npm.io/package/aurelia-logging.md) ^1.0.0
- [aurelia-metadata](https://npm.io/package/aurelia-metadata.md) ^1.0.0
- [aurelia-templating](https://npm.io/package/aurelia-templating.md) ^1.11.1
- [aurelia-dependency-injection](https://npm.io/package/aurelia-dependency-injection.md) ^1.3.0

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.5.0 (latest) — 2022-04-12
- 1.4.0 — 2019-05-02
- 1.3.3 — 2018-09-25
- 1.3.2 — 2018-07-03
- 1.3.1 — 2018-01-20
- 1.3.0 — 2018-01-15
- 1.2.0 — 2017-10-02
- 1.1.0 — 2017-02-26
- 1.0.1 — 2016-12-03
- 1.0.0 — 2016-07-27
- 1.0.0-rc.1.0.1 — 2016-07-12
- 1.0.0-rc.1.0.0 — 2016-06-22
- 1.0.0-beta.2.0.3 — 2016-06-19
- 1.0.0-beta.2.0.2 — 2016-06-17
- 1.0.0-beta.2.0.1 — 2016-06-16
- … 12 more at https://npm.io/package/aurelia-templating-router/versions

## README

<p>
  <a href="https://aurelia.io/" target="_blank">
    <img alt="Aurelia" src="https://aurelia.io/styles/images/aurelia.svg">
  </a>
</p>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm Version](https://img.shields.io/npm/v/aurelia-templating-router.svg)](https://www.npmjs.com/package/aurelia-templating-router)
![ci](https://github.com/aurelia/templating-router/actions/workflows/main.yml/badge.svg)
[![Discourse status](https://img.shields.io/discourse/https/meta.discourse.org/status.svg)](https://discourse.aurelia.io)
[![Twitter](https://img.shields.io/twitter/follow/aureliaeffect.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=aureliaeffect)
[![Discord Chat](https://img.shields.io/discord/448698263508615178.svg)](https://discord.gg/RBtyM6u)

# aurelia-templating-router

## Platform Support

This library can be used in the **browser** only.

## Building The Code

To build the code, follow these steps.

1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
2. From the project folder, execute the following command:

  ```shell
  npm install
  ```

3. To build the code, you can now run:

  ```shell
  npm run build
  ```

4. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.


## Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

1. Ensure that the [Karma](http://karma-runner.github.io/) CLI is installed. If you need to install it, use the following command:

  ```shell
  npm run test
  ```

2. With watch options to rerun the test (headless):

  ```
  npm run test:watch
  ```

3. With watch options to rerun the test (with browser):

  ```
  npm run test:debugger
  ```

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