Appends arbitrary data to signed Windows executables. This is done by embedding the data at the end of the digital certificate section.
This method is described in more detail in this blog post: https://blog.barthe.ph/2009/02/22/change-signed-executable/
npm install exe-append
var exe = require("exe-append");
var buffer = exe.append(fs.readFileSync("my.exe"), "arbirarty data");