aboutsummaryrefslogtreecommitdiff
path: root/node_modules/path-to-regexp/Readme.md
diff options
context:
space:
mode:
authorgrant-kun <[email protected]>2022-09-26 11:32:15 -0500
committergrant-kun <[email protected]>2022-09-26 11:32:15 -0500
commitfb1a557749b7b83e9e732df7c65cdb3f17d0400a (patch)
tree681d83ad203c94e322aa84a7e2e65d5cc679370e /node_modules/path-to-regexp/Readme.md
parent34e9facde87cac19e7d68f6ffce28546d92c9979 (diff)
parent4b237cd7f3d9ebffdfc60d987c4df3c2595c3b7c (diff)
Merge branch 'main' of https://github.com/squiresgrant/kanna-site
Diffstat (limited to 'node_modules/path-to-regexp/Readme.md')
-rw-r--r--node_modules/path-to-regexp/Readme.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/node_modules/path-to-regexp/Readme.md b/node_modules/path-to-regexp/Readme.md
deleted file mode 100644
index 95452a6..0000000
--- a/node_modules/path-to-regexp/Readme.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Path-to-RegExp
-
-Turn an Express-style path string such as `/user/:name` into a regular expression.
-
-**Note:** This is a legacy branch. You should upgrade to `1.x`.
-
-## Usage
-
-```javascript
-var pathToRegexp = require('path-to-regexp');
-```
-
-### pathToRegexp(path, keys, options)
-
- - **path** A string in the express format, an array of such strings, or a regular expression
- - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings.
- - **options**
- - **options.sensitive** Defaults to false, set this to true to make routes case sensitive
- - **options.strict** Defaults to false, set this to true to make the trailing slash matter.
- - **options.end** Defaults to true, set this to false to only match the prefix of the URL.
-
-```javascript
-var keys = [];
-var exp = pathToRegexp('/foo/:bar', keys);
-//keys = ['bar']
-//exp = /^\/foo\/(?:([^\/]+?))\/?$/i
-```
-
-## Live Demo
-
-You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/).
-
-## License
-
- MIT