For example, I have a string "this=20is=20a=20string" that I want to convert to "this is a string".
Is there a library function or a npm module that does it or should I make my own function to do it?
Use mimelib:
var mimelib = require("mimelib");
mimelib.decodeQuotedPrintable("this=20is=20a=20string") === "this is a string"
mimelib.decodeMimeWord("=?iso-8859-1?Q?=27text=27?=") === "'text'"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With