Skip to main content
Module

x/apiland/modules.ts

The API server for deno.land
Latest
import * as apiland from "https://deno.land/x/apiland@1.7.2/modules.ts";

Functions for handling modules and other registry integrations.

Functions

A function which

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.

For a given module, lookup the latest version in the database and redirect the requested URL to the latest version (or return undefined if the module is not located).