pkm
package ecosystem: semver, manifest/lock shapes, path resolution tree, cache paths,.
Load with: use pkm
Quick example
use pkm
result = pkmpa("value")
prn(result)
Functions
Functions
pkmna()
Performs the operation.
pkmlo()
Performs the operation.
pkmpa(r)
Parses. Takes r.
pkmlp(r)
Performs the operation. Takes r.
pkmca(r)
Performs the operation. Takes r.
pkmde(r, k)
Decodes. Takes r, k.
pkmre(r)
Performs the operation. Takes r.
semver core (numeric triple + optional pre/build; pre string compare when both set)
pkmis(s)
Returns true/false based on a condition. Takes s.
pkmst(s)
Sets a value or starts a process. Takes s.
pkmpa(s0)
Parses. Takes s0.
pkmtr(a, b)
Performs the operation. Takes a, b.
pkmcm(pa, pb)
Performs the operation. Takes pa, pb.
pkmcm(sa, sb)
Performs the operation. Takes sa, sb.
pkmge(sa, sb)
Gets or retrieves a value. Takes sa, sb.
pkmra(rs)
Performs the operation. Takes rs.
pkmal(rs, vs)
Performs the operation. Takes rs, vs.
manifest rows
pkmis(k)
Returns true/false based on a condition. Takes k.
pkmrd(r)
Reads data. Takes r.
pkmve(o)
Performs the operation. Takes o.
pkmdr(o)
Performs the operation. Takes o.
pkmre(o)
Performs the operation. Takes o.
pkmki(spec)
Performs the operation. Takes spec.
pkmva(nm, spec)
Performs the operation. Takes nm, spec.
pkmin(raw)
Initialises. Takes raw.
pkmve()
Performs the operation.
pkmne(r, p)
Creates a new instance. Takes r, p.
pkmrd(r)
Reads data. Takes r.
pkmwr(r, o)
Writes data. Takes r, o.
pkmre(p)
Performs the operation. Takes p.
pkmrd(d)
Reads data. Takes d.
pkmss(xs)
Performs the operation. Takes xs.
pkmBF(r, n)
Performs the operation. Takes r, n.
pkmbl(r)
Performs the operation. Takes r.
pksyn(r)
Performs the operation. Takes r.
pkmch(r)
Checks a condition. Takes r.
registry index (local JSON map name → {url?, git?, mirror?})
pkmre(r)
Performs the operation. Takes r.
pkmre(b, e)
Performs the operation. Takes b, e.
Authoring scaffold (JSON object - combine with jsnenc for files).
pkmne(nm, v)
Creates a new instance. Takes nm, v.
Notes
- Package metadata - parse manifests, version constraints.