May 26, 2018

Create URI from hash of components

This module provides a simple functional “named parameters” style interface for creating URIs. Underneath the hood it uses, though because of the simplified interface it may not support all possible options for all types of URIs.

It was created for the common case where you simply want to have a simple interface for creating syntactically correct URIs from known components like a path and query string. Doing this using the native interface is rather tedious, requiring a number of method calls, which is particularly ugly when done inside a templating system such as Mason or TT2.

WWW http//