mongo-data-anonymizer 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Here are the available options:
|
|
|
26
26
|
|
|
27
27
|
- `--sourceUri`: The MongoDB URI of the source database.
|
|
28
28
|
- `--targetUri`: The MongoDB URI of the target database.
|
|
29
|
-
- `--fieldList`: A comma-separated list of fields to anonymize. You can use the `+` or `-` modifiers to add or remove fields from the default list respectively. For example, `+age` will add `age` to the default fields, and `-email` will remove `email` from the default fields.
|
|
29
|
+
- `--fieldList`: A comma-separated list of fields to anonymize. You can also use the `+` or `-` modifiers to add or remove fields from the default list respectively. For example, `+age` will add `age` to the default fields, and `-email` will remove `email` from the default fields. The default fields are: `email`, `name`, `description`, `address`, `city`, `country`, `phone`, `comment`, `birthdate`, `firstname`, `lastname`, `fullname`.
|
|
30
30
|
- `--collectionList`: (Optional) A comma-separated list of collections to anonymize. If not provided, all collections will be anonymized.
|
|
31
31
|
- `--ignoreCollections`: (Optional) A comma-separated list of collections to ignore during the anonymization process.
|
|
32
32
|
- `--batchSize`: (Optional) The number of documents to process at a time. Defaults to `1000`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mongo-data-anonymizer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Anonymize specified fields in MongoDB collections and copy them to a target database.",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -44,5 +44,9 @@
|
|
|
44
44
|
"anonymizer"
|
|
45
45
|
],
|
|
46
46
|
"author": "vanea vasco",
|
|
47
|
-
"license": "MIT"
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/vaneavasco/mongo-data-anonymizer.git"
|
|
51
|
+
}
|
|
48
52
|
}
|