legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
55 lines • 1.51 kB
TypeScript
/**
* Path Constants from Environment Variables
*
* This module provides centralized access to path constants loaded from
* environment variables via dotenv. It ensures consistent path usage
* across the application and provides sensible defaults.
*
* The .env file is discovered from multiple locations in order of precedence:
* 1. Current working directory
* 2. User's home directory
* 3. User's config directory (~/.config/legal-markdown-js/)
*
* @module
*/
/**
* Path constants loaded from environment variables
*/
export declare const PATHS: {
/**
* Directory containing images assets
* @default "src/assets/images"
*/
readonly IMAGES_DIR: string;
/**
* Directory containing CSS styles
* @default "src/styles"
*/
readonly STYLES_DIR: string;
/**
* Default directory for input files
* @default "input"
*/
readonly DEFAULT_INPUT_DIR: string;
/**
* Default directory for output files
* @default "output"
*/
readonly DEFAULT_OUTPUT_DIR: string;
/**
* Directory for archiving processed input files
* @default "processed"
*/
readonly ARCHIVE_DIR: string;
};
/**
* Resolved absolute paths based on current working directory
*/
export declare const RESOLVED_PATHS: {
readonly IMAGES_DIR: string;
readonly STYLES_DIR: string;
readonly DEFAULT_INPUT_DIR: string;
readonly DEFAULT_OUTPUT_DIR: string;
readonly ARCHIVE_DIR: string;
};
//# sourceMappingURL=paths.d.ts.map