Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、「this is a string」に変換したい文字列「this=20is=20a=20string」があります。
それを行うライブラリ関数または npm モジュールはありますか、それとも独自の関数を作成する必要がありますか?
mimelib を使用します。
var mimelib = require("mimelib"); mimelib.decodeQuotedPrintable("this=20is=20a=20string") === "this is a string" mimelib.decodeMimeWord("=?iso-8859-1?Q?=27text=27?=") === "'text'"