Skip to main content

Module source

Module source 

Source
Expand description

Package sources: npm: specs, git repositories and local paths, as pi’s parseSource reads them (core/package-manager.ts, utils/git.ts).

Enums§

Source
Where a package comes from.

Functions§

is_local
Whether source names a local path.
local_path
A local source as an absolute path: ~ expands, file:// URLs convert, and relative paths resolve against base.
parse
Parses source as pi does: npm:, then git forms, then a local path.