import { default } from "https://deno.land/x/dmm@v2.1.2/src/services/module_service.ts";
Static Methods
private
constructDataForDenoImport(importLine: string): Promise<IModule>private
constructDataForGithubImport(importLine: string): Promise<IModule>private
constructDataForNestImport(importLine: string): Promise<IModule>private
constructDataForUnpkgImport(importLine: string): Promise<IModule>private
standardiseVersion(importedVersion: string, latestVersion: string): stringKeeps the latest release string in-line with the imported version. Latest release will contain or lose the "v" prefix to match the imported version
constructModulesDataFromDeps(depsContent: string): Promise<IModule[]>
Constructs the object representations for the given modules, that contains all the information about those modules
needed to: run any queries on them, or log information about them.
1. Reads deps.ts
and turns each dependency into a module object
2. Adds a the github url to each object using Deno's database.json and the modules name
3. Adds the latest version to each object using the github url