Cipher

Class: Cipher Instances of the Cipher class are used to encrypt data. The class can be used in one of two ways: As a stream that is both readable and writable, where plain unencrypted data is written to produce encrypted data on the readable side, or Using the cipher.update() and cipher.final() methods to produce the encrypted data. The crypto.createCipher() or crypto.createCipheriv() methods are used to create Cipher instances. Cipher objects are not to be created directly using the new key

child_process.spawnSync()

child_process.spawnSync(command[, args][, options]) command <String> The command to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process input <String> | <Buffer> The value which will be passed as stdin to the spawned processsupplying this value will override stdio[0] stdio <Array> Child's stdio configuration. env <Object> Environment key-value pairs uid <Number> Set

child_process.spawn()

child_process.spawn(command[, args][, options]) command <String> The command to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs stdio <Array> | <String> Child's stdio configuration. (See options.stdio) detached <Boolean> Prepare child to run independently of its parent process. Specific behavior depends on the platform, see option

child_process.fork()

child_process.fork(modulePath[, args][, options]) modulePath <String> The module to run in the child args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs execPath <String> Executable used to create the child process execArgv <Array> List of string arguments passed to the executable (Default: process.execArgv) silent <Boolean> If true, std

child_process.execSync()

child_process.execSync(command[, options]) command <String> The command to run options <Object> cwd <String> Current working directory of the child process input <String> | <Buffer> The value which will be passed as stdin to the spawned processsupplying this value will override stdio[0] stdio <Array> Child's stdio configuration. (Default: 'pipe') stderr by default will be output to the parent process' stderr unless stdio is specified env <Object&g

child_process.execFileSync()

child_process.execFileSync(file[, args][, options]) file <String> The name or path of the executable file to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process input <String> | <Buffer> The value which will be passed as stdin to the spawned processsupplying this value will override stdio[0] stdio <Array> Child's stdio configuration. (Default: 'pipe') stderr by default will be ou

child_process.execFile()

child_process.execFile(file[, args][, options][, callback]) file <String> The name or path of the executable file to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs encoding <String> (Default: 'utf8') timeout <Number> (Default: 0) maxBuffer <Number> largest amount of data (in bytes) allowed on stdout or stderr - if exceeded child

child_process.exec()

child_process.exec(command[, options][, callback]) command <String> The command to run, with space-separated arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs encoding <String> (Default: 'utf8') shell <String> Shell to execute the command with (Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should understand the -c switch on UNIX or /s /c on Windows. On Windows, c

childprocess.stdout

child.stdout <Stream> A Readable Stream that represents the child process's stdout. If the child was spawned with stdio[1] set to anything other than 'pipe', then this will be undefined. child.stdout is an alias for child.stdio[1]. Both properties will refer to the same value.

childprocess.stdio

child.stdio <Array> A sparse array of pipes to the child process, corresponding with positions in the stdio option passed to child_process.spawn() that have been set to the value 'pipe'. Note that child.stdio[0], child.stdio[1], and child.stdio[2] are also available as child.stdin, child.stdout, and child.stderr, respectively. In the following example, only the child's fd 1 (stdout) is configured as a pipe, so only the parent's child.stdio[1] is a stream, all other values in the array