1 Star 0 Fork 0

ioa / ioa-router

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
lixiangio 提交于 2021-01-05 13:25 . No commit message

ioa-router

集成 middleware、controller、router 加载器的 ioa 路由基础依赖

Install

npm i ioa-router

下一版计划

使用{name}格式替代:name

预判断{name}是部分匹配还是完全匹配,将部分匹配转为正则表达式即可,例如:

/:name/:id

/{name}/{id}

/{name}.json

'admin'.match(/value/)

'admin'.match(value)

1
https://gitee.com/ioajs/ioa-router.git
git@gitee.com:ioajs/ioa-router.git
ioajs
ioa-router
ioa-router
master

搜索帮助