UNPKG

258 BJavaScriptView Raw
1import { DEFAULTS } from "./defaults.js";
2import { merge } from "./merge.js";
3import { parse } from "./parse.js";
4function endpointWithDefaults(defaults, route, options) {
5 return parse(merge(defaults, route, options));
6}
7export {
8 endpointWithDefaults
9};