Naming Prosecution Mitigator
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    chrome-launchpublic

    chrome-launch

    Light cross-platform launcher for Google Chrome.

    Usage

    NPM

    process = spawn(url, [options])

    Spawns a new Chrome instance in a separate process using child_process.spawn.

    Options include:

    • args: additional command-line arguments to pass to Chrome. See here for a full list.
    • dir: user configuration directory to use. By default, one will be created and then removed when the process is killed.
    • env: environment variables to use. Defaults to process.env.
    • nuke: remove opts.dir when the process exits.

    The following command-line options are passed to Chrome in addition to the ones you supply:

    • --no-first-run
    • --no-default-browser-check
    • --disable-translate
    • --disable-default-apps
    • --disable-popup-blocking
    • --disable-zero-browsers-open-for-tests
    • --user-data-dir=${opts.dir}

    License

    MIT. See LICENSE.md for details.

    install

    npm i chrome-launch

    Downloadsweekly downloads

    117

    version

    1.1.4

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar