The JavaScript API for Proton Drive should not be restricted to a Node.js package. For greater flexibility, it should also be available as a standard ECMAScript module and as a non-ES JavaScript source file.
In addition to web apps, authors of browser extensions (for Chrome, Edge, Safari, etc.) would be interested in using Proton Drive as a storage back-end to enable synced data between the user's machines where their browser extension is installed. A JavaScript API would allow browser extension authors to give their users more options on which cloud file storage service they want to use.
The JavaScript API for Proton Drive should not be restricted to a Node.js package. For greater flexibility, it should also be available as a standard ECMAScript module and as a non-ES JavaScript source file.
In addition to web apps, authors of browser extensions (for Chrome, Edge, Safari, etc.) would be interested in using Proton Drive as a storage back-end to enable synced data between the user's machines where their browser extension is installed. A JavaScript API would allow browser extension authors to give their users more options on which cloud file storage service they want to use.