Unique identifier with a package name and version.
If changing this, remember to change packageIdIsEqual
.
Unique identifier with a package name and version. If changing this, remember to change `packageIdIsEqual`.
(name package-id)
Name of the package.
Should not include @types
.
If accessing a non-index file, this should include its name e.g. "foo/bar".
Returns: string
Name of the package. Should not include `@types`. If accessing a non-index file, this should include its name e.g. "foo/bar". **Returns:** `string`
(set-name! package-id value)
Name of the package.
Should not include @types
.
If accessing a non-index file, this should include its name e.g. "foo/bar".
Name of the package. Should not include `@types`. If accessing a non-index file, this should include its name e.g. "foo/bar".
(set-sub-module-name! package-id value)
Name of a submodule within this package. May be "".
Name of a submodule within this package. May be "".
(set-version! package-id value)
Version of the package, e.g. "1.2.3"
Version of the package, e.g. "1.2.3"
(sub-module-name package-id)
Name of a submodule within this package. May be "".
Returns: string
Name of a submodule within this package. May be "". **Returns:** `string`
(version package-id)
Version of the package, e.g. "1.2.3"
Returns: string
Version of the package, e.g. "1.2.3" **Returns:** `string`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close