Skip to main content
Module

x/astrodon/modules/astrodon/deps.ts

Create Desktop apps with Deno 🦕
Latest
import * as astrodon from "https://deno.land/x/astrodon@0.1.0-alpha.2/modules/astrodon/deps.ts";

Functions

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

f
exists
deprecated

Test whether or not the given path exists by checking with the file system

Coerces a string to semver if possible

Return true if version is greater than all the versions possible in the range.

Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.

Return true if any of the ranges comparators intersect

Return true if version is less than all the versions possible in the range.

Return the major version number.

Return the minor version number.

Return true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)

Return the patch version number.