Sanitize HTML antes de armazenar em DB em JS

npm install sanitize-html
Venkatesh Medisetti