CRX3Stream

crx3/lib/crx3stream. CRX3Stream

new CRX3Stream(path, optionsopt)

Description:
  • Extends external:fs.WriteStream to write additional CRX3 header to output file.

    Valid CRX file should contain valid ZIP file data. So do not pipe any other type of data
    to CRX3Stream, or the file will not work in any of the Chromium and Google Chrome browsers.

Source:
Example
const crxStream = createCRX3Stream('example/example-extension.crx', {key: true});
zipStream.pipe(crxStream);
Parameters:
Name Type Attributes Description
path string
options object | module:crx3/lib/configuration <optional>

Extends

Members

(inner) crx :module:crx3/lib/crx3stream.CRX3StreamState

Source:
Type: