function substimport { subst } from "https://deno.land/x/urlcat@v2.0.4/src/index.ts"; subst(template: string, params: ParamMap): stringSubstitutes :params in a template with property values of an object. ExamplesExample 1 subst('/users/:id/posts/:postId', { id: 42, postId: 36 }) // -> '/users/42/posts/36' Parameterstemplate: stringa string that contains :params. params: ParamMapan object with keys that correspond to the params in the template. ReturnsstringRendered path after substitution.