encodehtml

escaping and unescaping HTML entities – commonly needed utils to prevent XSS attacks when rendering user generated content

Browse on unpkg