badwords icon indicating copy to clipboard operation
badwords copied to clipboard

How to use in Client side HTML page

Open omarojo opened this issue 5 years ago • 3 comments

Is it possible to use this library on client side ? not NodeJs. just in an html via inline

omarojo avatar Sep 18 '18 18:09 omarojo

I'll take a look into building a umd build

web-mech avatar Sep 25 '18 20:09 web-mech

or React for that matter. I'd like you use formik with yup for validation but then I'd also like to not just do classical validation of input fields but also check them for profanity on the client already...

evdama avatar Nov 18 '18 21:11 evdama

What the point in umd, if you use require statement everywhere? Browser does not understand it and Babel can not transpile it + your umd implementation seems broken.

blueambr avatar Jan 17 '20 08:01 blueambr