maximilianMairinger / sanitizeAgainst

Highly customizable, but simple to use, sanitization of objects and primitives.
https://www.npmjs.com/package/sanitize-against
0 stars 0 forks source link

General rule for Matchers if the are given as constructor, init them with no args #6

Open maximilianMairinger opened 11 months ago

maximilianMairinger commented 11 months ago

Would make sense for sani(OBJECT) insead of sani(new OBJECT())

maximilianMairinger commented 11 months ago

Would kind of conflict with arbitrary instanceof