MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / encodeRFC2047

Function encodeRFC2047

tools/sendNotify.js:1278–1281  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1276
1277function ntfyNotify(text, desp) {
1278 function encodeRFC2047(text) {
1279 const encodedBase64 = Buffer.from(text).toString('base64');
1280 return `=?utf-8?B?${encodedBase64}?=`;
1281 }
1282
1283 return new Promise((resolve) => {
1284 const {

Callers 1

ntfyNotifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected