• Extracts code snippets (code) from a JSON array file and writes them to individual files.

    Parameters

    • filePath: string

      Path to JSON array file.

    • destDir: string

      Output directory for snippets.

    Returns string[]