electron-document-manager is an Electron package that manages opening, saving and closing documents. All you have to do is drop in your web app, define
getContent methods, and electron-document-manager will manage the rest – including everything in the main process.
Some of the document code is based on jdittrich's fantastic Electron_appFileOperations script.
var DocumentManager = main;;
var DocumentManager = ;DocumentManager;DocumentManagerdocument;