/html-entities-decoder

decode all html entities

Primary LanguageJavaScript

html-entities-decoder Version Number License download

npm install html-entities-decoder

decode all html entities

Examples

input : 1 © 2 "

ouput : 1 © 2 "

How to use

let decode = require('html-entities-decoder')
let input = '1 © 2 "'
let output = decode(input) // 1 © 2 "

or

import decode from 'html-entities-decoder';
let input = '1 © 2 "'
let output = decode(input) // 1 © 2 "

License

MIT

Thank You!!