Exports

Shares functions and values between resources. A resource lists its exports in the manifest under `kcds.exports` and registers them, and others read them by the resource's name.

exports.register()

Exports.register(name, value)

Stores an export under a name listed in `kcds.exports`. Any other name is ignored, with a warning.

exports.get()

Exports.get(name, exported)

Reads one export of another resource. Throws if that resource or export is missing, and warns if your manifest does not list that resource in `requires`.