routington
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "routington", | ||
"description": "Trie-based URL Routing", | ||
"version": "0.0.1", | ||
"version": "0.0.6", | ||
"main": "/dist/routington.js", | ||
@@ -6,0 +6,0 @@ "scripts": [ |
@@ -5,3 +5,3 @@ { | ||
"repo": "berrington/routington", | ||
"version": "0.0.1", | ||
"version": "0.0.6", | ||
"main": "index.js", | ||
@@ -14,3 +14,4 @@ "scripts": [ | ||
"/lib/parse.js" | ||
] | ||
], | ||
"license": "MIT" | ||
} |
{ | ||
"name": "routington", | ||
"description": "Trie-based URL Routing", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"devDependencies": { | ||
@@ -27,3 +27,3 @@ "mocha": "*", | ||
}, | ||
"license": "WTFPL" | ||
"license": "MIT" | ||
} |
@@ -7,3 +7,3 @@ ## Routington [![Build Status](https://travis-ci.org/berrington/routington.png)](https://travis-ci.org/berrington/routington) | ||
For a node.js implementation, we have built [connectington](https://github.com/berrington/connectington). This can be used either as a standalone or as a replacement for Express' router. | ||
For a node.js implementation, we have built [dispatchington](https://github.com/berrington/dispatchington). This can be used either as a standalone or as a replacement for Express' router. | ||
@@ -23,3 +23,3 @@ ### API | ||
Every node on a tree is an instance of `Node`. You only construct the root. `node` on the other hand has the following properties: | ||
Every node on a tree is an instance of `Node`. You only construct the root. A `node` has the following properties: | ||
@@ -81,8 +81,22 @@ - `child {}Node` - String based child definitions. For example, `node.child['post']` will return a child node with `node.string === 'post'` | ||
WTFPL | ||
The MIT License (MIT) | ||
© Jonathan Ong 2013 | ||
Copyright (c) 2013 Jonathan Ong me@jongleberry.com | ||
me@jongleberry.com | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
[@jongleberry](https://twitter.com/jongleberry) | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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
16541
237
99