UNPKG

legal-markdown-js

Version:

Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version

31 lines 1.21 kB
/** * Constants and Configuration for Legal Markdown Processing * * This module provides centralized access to all constants used throughout * the Legal Markdown processing system. It re-exports constants from * specialized modules for easy consumption. * * Modules: * - core: Default options, supported formats, file extensions, and error codes * - patterns: Regular expressions for parsing different markup elements * - pdf: PDF generation and template styling constants * * @example * ```typescript * import { DEFAULT_OPTIONS, HEADER_PATTERNS, PDF_TEMPLATE_CONSTANTS } from './constants'; * * // Use default options * const options = { ...DEFAULT_OPTIONS, debug: true }; * * // Use header patterns * const headerMatch = content.match(HEADER_PATTERNS.TRADITIONAL); * * // Use PDF constants * const logoHeight = PDF_TEMPLATE_CONSTANTS.LOGO_HEIGHT; * ``` */ export { DEFAULT_OPTIONS, SUPPORTED_FORMATS, FILE_EXTENSIONS, ERROR_CODES } from './core'; export { HEADER_PATTERNS, IMPORT_PATTERNS, CLAUSE_PATTERNS, REFERENCE_PATTERNS } from './patterns'; export { PDF_TEMPLATE_CONSTANTS } from './pdf'; export { PATHS, RESOLVED_PATHS } from './paths'; //# sourceMappingURL=index.d.ts.map