• Validates file path for security

    Parameters

    • filePath: string
    • options: { allowRelative?: boolean } = {}

    Returns boolean