specpress
Version:
Export PDF and/or DOCX files from a subset of Markdown, ASN.1 and JSON files
17 lines (14 loc) • 508 B
JavaScript
// Consolidated modules
export * from "./paths.mjs";
export * from "./files.mjs";
// Existing modules (keep for now)
export { getConfig, clearConfigCache } from "./getConfig.mjs";
export { rewriteFiguresPathsInBuffer } from "./rewriteFiguresPathsInBuffer.mjs";
// Re-exports from Node.js (for backward compatibility)
import { parse } from "path";
export {
extname as getFileExtension,
basename as getFileName,
parse,
} from "path";
export const getFileNameWithoutExtension = (path) => parse(path).name;