Skip to main content
Module

x/apiland/modules.ts>getIndexModule

The API server for deno.land
Latest
function getIndexModule
import { getIndexModule } from "https://deno.land/x/apiland@1.7.2/modules.ts";

Given a set of paths which are expected to be siblings within a folder/dir return what appears to be the "index" module. If none can be identified, undefined is returned.

Parameters

optional
paths: string[]

Returns

string | undefined