@109cafe/label / build
build(
parsed):string
Build a label string from a parsed Label object
• parsed: Label
The parsed Label object
string
The label string
import { build } from "@109cafe/label";
build({ package: "foo", target: "bar" }); // foo:bar
build({ package: "foo", includeSubPackages: true }); // foo/...
build({ scope: "", package: "foo" }); // //foo
build({ scope: "@npm", package: "foo" }); // @npm//foo