# can-route

> Observable front-end application routing for CanJS.

Latest version **5.0.2** (published 2019-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install can-route
pnpm add can-route
yarn add can-route
bun add can-route
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.2 |
| Published | 2019-11-25 |
| First published | 2013-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 138.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bitovi |
| Maintainers | amechi89, andrejewski, bgando, blackmarket, bmomberger-bitovi, chasen, cherif_b, christopherjbaker, htmlghozt, james0x57, justinbmeyer, marshallswain, matthewp, mikedane94, phillipskevin, stin13 |
| Keywords | canjs, canjs-plugin, donejs |

## Links

- npm: https://www.npmjs.com/package/can-route
- Repository: https://github.com/canjs/can-route
- Homepage: https://canjs.com/doc/can-route.html
- Issues: https://github.com/canjs/can-route/issues
- npm.io page: https://npm.io/package/can-route

## Dependencies (20)

- [can-log](https://npm.io/package/can-log.md) ^1.0.0
- [can-bind](https://npm.io/package/can-bind.md) ^1.0.0
- [can-diff](https://npm.io/package/can-diff.md) ^1.0.4
- [can-type](https://npm.io/package/can-type.md) ^1.0.0
- [can-param](https://npm.io/package/can-param.md) ^1.0.1
- [can-queues](https://npm.io/package/can-queues.md) ^1.0.0
- [can-string](https://npm.io/package/can-string.md) ^1.0.0
- [can-symbol](https://npm.io/package/can-symbol.md) ^1.0.0
- [can-deparam](https://npm.io/package/can-deparam.md) ^1.0.1
- [can-globals](https://npm.io/package/can-globals.md) ^1.0.0
- [can-reflect](https://npm.io/package/can-reflect.md) ^1.16.7
- [can-key-tree](https://npm.io/package/can-key-tree.md) ^1.0.0
- [can-namespace](https://npm.io/package/can-namespace.md) 1.0.0
- [can-dom-events](https://npm.io/package/can-dom-events.md) ^1.1.0
- [can-route-hash](https://npm.io/package/can-route-hash.md) ^1.0.0
- [can-event-queue](https://npm.io/package/can-event-queue.md) ^1.0.0
- [can-observation](https://npm.io/package/can-observation.md) ^4.0.0
- [can-observable-object](https://npm.io/package/can-observable-object.md) ^1.0.0
- [can-simple-observable](https://npm.io/package/can-simple-observable.md) ^2.0.0
- [can-observation-recorder](https://npm.io/package/can-observation-recorder.md) ^1.0.0

## Recent versions

- 5.0.2 (latest) — 2019-11-25
- 5.0.0-pre.4 (pre) — 2019-09-30
- 5.0.1 — 2019-11-14
- 5.0.0 — 2019-10-03
- 5.0.0-pre.3 — 2019-09-13
- 5.0.0-pre.2 — 2019-09-13
- 5.0.0-pre.1 — 2019-09-12
- 5.0.0-pre.0 — 2019-09-05
- 4.4.9 — 2019-06-17
- 4.4.8 — 2019-05-28
- 4.4.7 — 2019-05-01
- 4.4.6 — 2018-11-28
- 4.4.5 — 2018-11-08
- 4.4.4 — 2018-11-08
- 4.4.3 — 2018-11-06
- … 103 more at https://npm.io/package/can-route/versions

## README

# can-route

[![Join our Slack](https://img.shields.io/badge/slack-join%20chat-611f69.svg)](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join our Discourse](https://img.shields.io/discourse/https/forums.bitovi.com/posts.svg)](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/canjs/can-route/blob/master/LICENSE.md)
[![npm version](https://badge.fury.io/js/can-route.svg)](https://www.npmjs.com/package/can-route)
[![Travis build status](https://travis-ci.org/canjs/can-route.svg?branch=master)](https://travis-ci.org/canjs/can-route)
[![Greenkeeper badge](https://badges.greenkeeper.io/canjs/can-route.svg)](https://greenkeeper.io/)

> __Note:__ This is the CanJS [can-route](https://github.com/canjs/can-route) module. The old `can-route` has been renamed to [did-route](https://www.npmjs.com/package/did-route). Many thanks to [@michaelrhodes](https://github.com/michaelrhodes) for letting us use the `can-route` module name.

Create a route matching rule. Optionally provide defaults that will be applied to the [can-map] when the route matches.

## Documentation

Read the [can-route API docs on CanJS.com](https://canjs.com/doc/can-route.html).

## Changelog

See the [latest releases on GitHub](https://github.com/canjs/can-route/releases).

## Contributing

The [contribution guide](https://github.com/canjs/can-route/blob/master/CONTRIBUTING.md) has information on getting help, reporting bugs, developing locally, and more.

## License

[MIT](https://github.com/canjs/can-route/blob/master/LICENSE.md)

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