# @types/routie

> TypeScript definitions for routie

Latest version **0.3.31** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/routie
pnpm add @types/routie
yarn add @types/routie
bun add @types/routie
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.31 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51430 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/routie
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/routie
- npm.io page: https://npm.io/package/@types/routie

## Recent versions

- 0.3.31 (latest) — 2023-11-07
- 0.3.29 (ts3.6) — 2021-07-08
- 0.3.28 (ts2.0) — 2019-10-15
- 0.3.30 — 2023-10-18
- 0.3.27 — 2016-09-19
- 0.3.26 — 2016-07-14
- 0.3.25-alpha — 2016-07-08
- 0.3.24-alpha — 2016-07-04
- 0.3.23-alpha — 2016-07-02
- 0.3.22-alpha — 2016-07-01
- 0.3.21-alpha — 2016-07-01
- 0.3.20-alpha — 2016-05-25
- 0.3.19-alpha — 2016-05-20
- 0.3.14-alpha — 2016-05-19
- 0.3.13-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/routie`

# Summary
This package contains type definitions for routie (https://github.com/jgallen23/routie).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/routie.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/routie/index.d.ts)
````ts
declare namespace routie {
    interface Routie extends RoutieStatic {
        (path: string): void;
        (path: string, fn: Function): void;
        (routes: { [key: string]: Function }): void;
    }

    interface RoutieStatic {
        lookup(name: string, fn: Function): string;
        remove(path: string, fn: Function): void;
        removeAll(): void;
        navigate(path: string, options?: RouteOptions): void;
        noConflict(): Routie;
    }

    interface RouteOptions {
        silent?: boolean | undefined;
    }
}

declare var routie: routie.Routie;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Adilson](https://github.com/Adilson).

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