This file contains hidden or 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 { promises as fs } from 'fs'; | |
import path from 'path'; | |
import axios from 'axios'; | |
import { createObjectCsvWriter } from 'csv-writer'; | |
const ACCESS_TOKEN = 'x'; // Replace with your GitHub access token | |
const GIST_ID = '3f3901a8f132b5761dca5316fb62f702'; // Replace with your Gist ID | |
const parentDir = path.resolve('./'); // Adjust the path as needed to get one level up |
OlderNewer