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
// please reference https://developer.mixpanel.com/reference/identities#identity-merge first, as this is an irreversible operation!!! | |
// also address the TODOs found before running | |
import fetch from 'node-fetch'; | |
var csv = require('node-csv').createParser(); | |
interface DuplicatePairDict { | |
[email: string]: [string, string] | |
} | |
function returnDuplicates(data: string[][]): DuplicatePairDict { |