# dbind-router-base

> dbind路由组件插件式引擎

Latest version **1.0.1** (published 2017-02-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install dbind-router-base
pnpm add dbind-router-base
yarn add dbind-router-base
bun add dbind-router-base
```

## 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 | 1.0.1 |
| Published | 2017-02-14 |
| First published | 2017-02-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | casles |
| Maintainers | casles |
| Keywords | 前端, 路由, router |

## Links

- npm: https://www.npmjs.com/package/dbind-router-base
- Repository: https://github.com/YiKeYaTu/route.js
- Homepage: https://github.com/YiKeYaTu/route.js#readme
- Issues: https://github.com/YiKeYaTu/route.js/issues
- npm.io page: https://npm.io/package/dbind-router-base

## 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.0.1 (latest) — 2017-02-14
- 1.0.0 — 2017-02-11

## README

# 简介

- 前端路由管理库

# 用例

````javascript
    
    app.setRootLocation('/example'); // 以后的路由将会以 /example为跟路径

    var Router = app.Router();
    var indexRouter = new Router()
        .route('index', function(ctx, next) { // /example/index

            // ....
            next();

        })
        .route('show', function(ctx, next) { // /example/index/show 并且index路由中的callback将会执行

            // ......

        })

    
````

# api

- app.Router

    ````javascript

    
    
    ````

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