hij1nx/paramify — pull request #7 by timoxley (2013-11-04 03:20:48+00:00)
Title: Add support for globbing matches.

For cases where you have variable number of url `/` components, the `*` feature from `path-to-regexp` is pretty handy.

e.g.
`files/*` will match:
`/files/my/dir/something.txt` and
`/files/some/other/dir/something.txt`

but `paramify` does not currently provide any access to the unnamed matches :cry:

This PR provides access to the unnamed matches as numeric indices on `match.params`:

```js
var match = paramify('/files/mydir/path/to/file.txt')

match.params.root // => 'mydir'
match.params[0] // => '/files/mydir/path/to/file.txt'
match.params[1] // => 'path/to/file.txt'
```