Skip to content

Implementation of simple expansion of URI-templates, targeting the uri-template RFC

Notifications You must be signed in to change notification settings

petterw/uritemplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

URI Templates

This library provides easy expansion of URI templates.

It is an implementation of a soon-to-be RFC, found at http://code.google.com/p/uri-templates/

So far, the library only supports simple String values, and no modifiers on the variable specs.

Examples

Given the template:

http://www.google.com/{?q}

and the context q=nalle, the result will be

http://www.google.com/?q=nalle

Credits

This library is a product of the Cloudname Open Source factory.

The algorithm used is based on appendix A of the RFC.

About

Implementation of simple expansion of URI-templates, targeting the uri-template RFC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published