Packages
    Preparing search index...

    Module @mcansh/url

    @mcansh/url

    a template string function to create urls and only keeping search params with values - based on this tweet

    let filter = undefined;
    let user = null;
    let q = "my search";
    urlString`https://site.com/path?q=${q}&user=${user}&filter=${filter}`;
    // => "https://site.com/path?q=my+search"

    Functions

    url
    urlString