Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lark-router

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lark-router - npm Package Compare versions

Comparing version 0.1.0 to 0.2.1

4

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc