{"repo":"slippyex/data-guardian","free":true,"listed":false,"github":"https://github.com/slippyex/data-guardian","clone":"git clone https://github.com/slippyex/data-guardian.git","description":"Tiny, zero-dependencies, package which tries to mask sensitive data in arbitrary collections (map, set), errors, objects and strings.","language":"TypeScript","stars":19,"topics":["auditing","covering","logging","masking","security","sensitive-data","sensitivity","telemetry","tracing"],"license":null,"category":"analytics","readme_excerpt":"data-guardian 🔒 data-guardian is a nimble, zero-dependency and lightweight NPM package crafted for developers who prioritize data security and privacy. This handy utility enables you to mask sensitive strings and object properties, safeguarding critical data from prying eyes, especially in logs or UI displays. Notably, it maintains the immutability of your data by default, though this feature is optional and customizable based on your needs. ✨ Features - 🔒 String Masking : Conceal parts of a string to hide sensitive data while keeping some characters visible for validation. - 🕵️ Object Masking : Automatically masks properties identified as sensitive in objects. - 📜 Argument Masking : Mask sensitive data in an array of arguments. - 📝 Custom Sensitive Data : Define your own custom regular expressions to identify and mask sensitive data in strings. - 🗃️ Collection Masking : Automatically mask sensitive data in Map, Set, and Error instances. - 🔮 Immutability (Optional) : By default, it doesn't alter your original data structure unless configured to do so. - 🖌️ Custom Masking : Define your custom logic to pinpoint which keys in objects should be masked. - 📦 Lightweight : No dependencies, no bloat. data-guardian is a lightweight package that won't slow down your app. - ⚙️ Configurable : Set the masking character to any commonly used character, and specify the length of the content to mask. - 🕵️ Fixed length masking : Ability to mask a fixed length of characters in a strin","default_branch":null,"files":null,"tree":[],"storefront":"/r/slippyex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/slippyex/data-guardian/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}