File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,21 @@ The values to be injected. The keys within `values` must match the `pattern`'s s
211
211
> ** Note:** To replace a wildcard segment (eg, ` /* ` ), define a ` values.wild ` key.
212
212
213
213
214
+ ## Deno
215
+
216
+ As of version ` 1.3.0 ` , you may use ` regexparam ` with Deno. These options are all valid:
217
+
218
+ ``` ts
219
+ // The official Deno registry:
220
+ import regexparam from ' https://deno.land/x/regexparam/src/index.js' ;
221
+ // Third-party CDNs with ESM support:
222
+ import regexparam from ' https://cdn.skypack.dev/regexparam' ;
223
+ import regexparam from ' https://esm.sh/regexparam' ;
224
+ ```
225
+
226
+ > ** Note:** All registries support versioned URLs, if desired. The above examples always resolve to the latest published version.
227
+
228
+
214
229
## Related
215
230
216
231
- [ trouter] ( https://github.com/lukeed/trouter ) - A server-side HTTP router that extends from this module.
You can’t perform that action at this time.
0 commit comments