1.1.18 • Published 3 years ago

@socialgouv/csv-anonymify v1.1.18

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

@socialgouv/csv-anonymify

Anonymise un CSV

Les types de données sont détectés avec @socialgouv/match-entities.

Usage

NodeJs

import fs from "fs";
import { anonymify } from "@socialgouv/csv-anonymify";

const input = fs.createReadStream("./sample.csv");

const anonymiser = anonymify(input, {
  onProgress: console.log,
  fields: [{ name: "civilite", type: "sex" }],
});

anonymiser.pipe(fs.createWriteStream("./sample-anonymised.csv"));

Browser :

See demo application in /apps/csv using FileReader streaming APIs

1.1.18

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

4 years ago

1.0.4

4 years ago