FEAT: pii

This commit is contained in:
marcos-silva-rodrigues
2025-04-29 14:00:23 -03:00
parent 7a6db36554
commit 58e3c7be94
12 changed files with 883 additions and 59 deletions
+14
View File
@@ -0,0 +1,14 @@
import { stringify } from 'csv'
export class CsvParser<T> {
async parse(data: T[]) {
return new Promise((resolve, reject) => {
stringify(data, { header: true }, function (err, output) {
if (err) reject(err);
console.log(output)
resolve(output)
});
})
}
}