UNPKG

spamir-updater

Version:

Secure automatic update client for Node.js applications with encrypted communication and package verification

23 lines (20 loc) 729 B
/** * Node.js Updater Client Module * * Automatic update client for Node.js applications * Handles secure communication with update server and package management */ const UpdaterClient = require('./lib/UpdaterClient'); module.exports = { UpdaterClient, /** * Create a new updater instance * @param {Object} options - Configuration options * @param {string} options.productIdentifier - Unique product identifier (required) * @param {string} [options.currentVersion] - Current version (optional, reads from config.json if not provided) * @returns {UpdaterClient} Updater client instance */ createUpdater: function(options) { return new UpdaterClient(options); } };