@knighttower/utility
Version:
UtilityJs is a utility library that provides a collection of utility functions for various tasks. The library is designed to be easy to use and covers the most common use cases.
23 lines (22 loc) • 783 B
JavaScript
// include esm object to allow for es6 import/export syntax
Object.defineProperty(exports, '__esModule', { value: true });
const {
getFlagValue,
getAllFilesByExtension,
runCommand,
getFileByName,
getAllFilesByName,
commandExistsSync,
checkNpmScript,
} = require('./NodeHelpers.cjs');
const { readJson, writeJson, bumpVersion } = require('./BumpVersion.cjs');
exports.getFlagValue = getFlagValue;
exports.getAllFilesByExtension = getAllFilesByExtension;
exports.getAllFilesByName = getAllFilesByName;
exports.getFileByName = getFileByName;
exports.runCommand = runCommand;
exports.readJson = readJson;
exports.writeJson = writeJson;
exports.bumpVersion = bumpVersion;
exports.commandExistsSync = commandExistsSync;
exports.checkNpmScript = checkNpmScript;