rap2hpoutre / pg-anonymizer

Dump anonymized PostgreSQL database with a NodeJS CLI
https://raph.site
MIT License
223 stars 31 forks source link

feat: add custom extension #5

Closed hugoarru closed 3 years ago

hugoarru commented 3 years ago

I needed to use custom functions for a project. So I add the possibility to use custom functions to add my own anonymization rule.

BTW this repo was very useful to me, thank you @rap2hpoutre :smile:

rap2hpoutre commented 3 years ago

Wow! Thank you so much for your contribution!

I'm glad you find your way in my spaghettiesque code (with variables named x, a, b and code like const [_one, two, three] = replacement.split("."); 🤦 😅

rap2hpoutre commented 3 years ago

released, available in 0.4.0

Thanks again 🙏