urlio
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

urlio

npm version Travis CI Build Status Coverage Status

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

Package Sidebar

Install

npm i urlio

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

6.72 kB

Total Files

4

Last publish

Collaborators

  • chbrown