![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
node-personal-data-filter
Advanced tools
password
, email
etc. will be filtered even if they don't contain personal data (list of personal data properties)const pdf = require("node-personal-data-filter");
const f = pdf.newFilter({personalDataMask: "*****"});
const data = {
filterMe: "some@mail.com", // will be filtered
dontFilterMe: "some-data",
nextLevel: {
filterMe: "1fec999a-7e81-4bce-8b32-1b6ddd144f1b", // will be filtered
dontFilterMe: "some-data",
email: "not-personal" // will be filtered
},
email: "some@mail.bg" // will be filtered
};
const filtered = f.filter(data);
console.log(filtered);
const pdf = require("node-personal-data-filter");
const cfg = {
personalDataMask: "*****" // The string which will be used to replace the personal data.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
personalDataProperties: ["pd1", "pd2"] // The personal data properties which will be filtered in JS object.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
additionalPersonalDataProperties: ["pd1", "pd2"] // The personal data properties which will be added to the default ones for filtering JS object.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
regularExpression: "[a-z]" // The regular expression which will be used for filtering strings.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
additionalRegularExpressions: ["[a-b]", "[c-d]"] // The regular expressions which will added to the default ones for filtering strings.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
useDefaultMatchReplacer: true // Use the default match replacer - sha256 sum.
};
const f = pdf.newFilter(cfg);
const pdf = require("node-personal-data-filter");
const cfg = {
matchReplacer: match => `not a secret - ${match}` // Set custom match replacer.
};
const f = pdf.newFilter(cfg);
FAQs
node-personal-data-filter
The npm package node-personal-data-filter receives a total of 0 weekly downloads. As such, node-personal-data-filter popularity was classified as not popular.
We found that node-personal-data-filter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.