urlio
v0.5.0
Published
URL in/out
Downloads
4
Readme
urlio
A module for matching URLs against patterns with a syntax inspired by Ember.js (and thus react-router and angular's ui-router), but also generating URLs from pre-defined routes given path parameters.
npm install --save urlio
For now, in its very alpha state, it supports :var
and *
(splat) segments in addition to literal contexts.
See the tests for examples.
License
Copyright 2015–2018 Christopher Brown. MIT Licensed