0.0.15 • Published 5 years ago

routing2 v0.0.15

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

routing2 routing2

Parse HTTP Routing definition

Define

Installation

$ npm install routing2

Example

const { parse } = require('routing2');

const routes = parse(`get /:name => home#index , a=1, b=2`);

console.log(routes); // ->
{
  method: 'get',
  path: '/:name',
  controller: 'home',
  action: 'index'
}

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

ISC

This work is licensed under the ISC license.


0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago