libraryKey

tcmts.registry.libraryKey · #ofwlem4t · term · runs anywhere

A library's key: its author's DID and its package.

import type { RegistryRelease } from "#codebase/tcmts/registry";

export const libraryKey = (r: Pick<RegistryRelease, "did" | "package">): string =>
  `${r.did} ${r.package}`

uses

used by