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

Function encodeRFC2047

sendNofity.js:1282–1285  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

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

Callers 1

ntfyNotifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected