### Installation Source: https://github.com/katanox/katanox-php/blob/master/node_modules/path-to-regexp/Readme.md Install the path-to-regexp library using npm. ```APIDOC ## Installation ``` npm install path-to-regexp --save ``` ``` -------------------------------- ### Install restore-cursor Source: https://github.com/katanox/katanox-php/blob/master/node_modules/restore-cursor/readme.md Install the package using npm. ```bash $ npm install restore-cursor ``` -------------------------------- ### Multi-Command Deployment Application Source: https://github.com/katanox/katanox-php/blob/master/node_modules/commander/Readme.md Example of a multi-command application using Commander for deployment tasks. It defines a main program with options and two sub-commands: 'setup' and 'exec'. ```javascript const { Command } = require('commander'); const program = new Command(); program .version('0.0.1') .option('-c, --config ', 'set config path', './deploy.conf'); program .command('setup [env]') .description('run setup commands for all envs') .option('-s, --setup_mode ', 'Which setup mode to use', 'normal') .action((env, options) => { env = env || 'all'; console.log('read config from %s', program.opts().config); console.log('setup for %s env(s) with %s mode', env, options.setup_mode); }); program .command('exec