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
sourcenames a local path. - local_
path - A local source as an absolute path:
~expands,file://URLs convert, and relative paths resolve againstbase. - parse
- Parses
sourceas pi does:npm:, then git forms, then a local path.