node-red-contrib-secure-excel 1.0.0
SecureExcel
node-red-contrib-excel (FORK)
📦 Fork di node-red-contrib-excel – Node-RED nodes per la lettura e scrittura di file Excel (.xlsx
) usando xlsx.
📌 FunzionalitÃ
Questo pacchetto fornisce due nodi principali:
- Excel In: per leggere dati da file
.xlsx
- Excel Out: per scrivere dati in file
.xlsx
🔧 Novità in questo fork
- ✨ Supporto per file Excel protetti da password: ora è possibile impostare una password per la lettura/scrittura dei file tramite il campo
msg.pwd
.
🧪 Utilizzo
Lettura da file Excel protetto
msg.payload = "/percorso/del/file.xlsx";
msg.pwd = "laTuaPassword";
return msg;
Scrittura su file Excel protetto
msg.payload = {
sheets: {
Sheet1: [
{ nome: "Mario", età : 34 },
{ nome: "Lucia", età : 29 }
]
},
filename: "/percorso/del/output.xlsx"
};
msg.pwd = "laTuaPassword";
return msg;
📦 Installazione
npm install <tuo-nome-utente>/node-red-contrib-excel
Oppure direttamente nel menu di gestione palette di Node-RED.
✅ Requisiti
- Node.js v12+
- Node-RED v2.0+
📄 Licenza
MIT