@decaf-ts/utils
Version:
module management utils for decaf-ts
55 lines • 2.53 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PACKAGE_NAME = exports.VERSION = void 0;
__exportStar(require("./cli/index.cjs"), exports);
__exportStar(require("./input/index.cjs"), exports);
__exportStar(require("./output/index.cjs"), exports);
__exportStar(require("./utils/index.cjs"), exports);
__exportStar(require("./writers/index.cjs"), exports);
/**
* @module utils
* @description Utilities and building blocks for Decaf-TS CLI and scripting.
* @summary Aggregates CLI command infrastructure, input helpers, output writers, filesystem/network utilities,
* and shared types. Consumers typically use {@link Command}, {@link UserInput}, {@link StandardOutputWriter},
* {@link printBanner}, and utilities from {@link module:utils|utils}.
*
* This entrypoint re-exports subpackages:
* - CLI framework under `./cli` (command base, options, built-in commands)
* - Input helpers under `./input` (prompting and arg parsing)
* - Output helpers under `./output` (banner and styling)
* - General utilities under `./utils` (fs, http, exec, types)
* - Writers under `./writers` (stdout/stderr processors)
*
* Note: Individual exports are documented in their source files.
*/
/**
* @description Represents the current version of the module.
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
* the placeholder with the actual version number at publish time.
* @const VERSION
* @memberOf module:utils
*/
exports.VERSION = "0.10.3";
/**
* @description Represents the current version of the module.
* @summary Stores the version for the @decaf-ts/utils package. The build replaces
* the placeholder with the actual version number at publish time.
* @const VERSION
* @memberOf module:utils
*/
exports.PACKAGE_NAME = "@decaf-ts/utils";
//# sourceMappingURL=index.js.map