This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import JSForce, { Connection } from "jsforce"; | |
import dotenv from "dotenv"; | |
import fs from "node:fs"; | |
import pLimit from "p-limit"; | |
dotenv.config(); | |
const connection: Connection = new JSForce.Connection(); | |
const download = async () => { | |
// Ensure the statements directory exists to push files into during downloading. |