lark-router
Advanced tools
Comparing version 0.1.0 to 0.2.1
{ | ||
"name": "lark-router", | ||
"version": "0.1.0", | ||
"description": "A router middleware for lark.js", | ||
"version": "0.2.1", | ||
"description": "An koa route initialization and configuration module.", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
lark-router | ||
============= | ||
A router middleware for [lark.js](https://github.com/larkjs/lark). | ||
Route configuration middleware for koajs. | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
@@ -33,3 +34,3 @@ | ||
The `directory` configuration option (optional) is the path to a directory. | ||
Specify a directory to have router scan all files recursively to find files | ||
Specify a directory to have lark-router scan all files recursively to find files | ||
that match the controller-spec API. With this API, the directory structure | ||
@@ -67,4 +68,13 @@ dictates the paths at which handlers will be mounted. | ||
``` | ||
## Tests | ||
[npm-image]: https://img.shields.io/npm/v/lark-bootstrap.svg?style=flat-square | ||
[npm-url]: https://npmjs.org/package/lark-bootstrap | ||
``` | ||
npm test | ||
``` | ||
[npm-image]: https://img.shields.io/npm/v/lark-router.svg?style=flat-square | ||
[npm-url]: https://npmjs.org/package/lark-router | ||
[travis-image]: https://img.shields.io/travis/larkjs/lark-router/master.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/larkjs/lark-router |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3788
79