Introduced in 4.0.0

Stability: 2 - Stable

const PathExp = require('kado/lib/PathExp')

The PathExp library provides what is known as a path-to-regexp functionality where a notation string such as /user/:name is converted into a regular expression cable of being used tested against request URIs.

Class: PathExp

PathExp.constructor(path, options)

Builds the regular express for testing against accessible through PathExp.exp

Internal Use

PathExp.match(against, params)