dogmalang.path

1.0.0-beta3.0 • Public • Published

dogmalang.path

NPM version Total downloads

Built-in path support for the Dogma language.

dir()

Return the parent directory path:

fn dir(...path) : text

base()

Return the entry name, with extension if file:

fn base(...path) : text

name()

Return the entry name, without extension if file:

fn name(...path) : text

ext()

Return the entry extension, with .:

fn ext(...path) : text

join()

Join a path from multiple parts:

fn join(...path) : text

normalize()

Normalize a path, resolving .. and .:

fn normalize(...path) : text

/dogmalang.path/

    Package Sidebar

    Install

    npm i dogmalang.path

    Weekly Downloads

    5

    Version

    1.0.0-beta3.0

    License

    none

    Unpacked Size

    3.46 kB

    Total Files

    3

    Last publish

    Collaborators

    • dogmalang