ding"><span id="module/expand-path" class="binding-sym">module/expand-path</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/a0ddfcb/src/core/corelib.c#L164">source</a></span> <pre class="binding-text">(module/expand-path path template)

Expands a path template as found in `module/paths` for `module/find`. This takes in a path (the argument to require) and a template string, to expand the path to a path that can be used for import