nwjs

WebJar for nwjs

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

nwjs
Last Version

Last Version

0.0.15
Release Date

Release Date

Type

Type

jar
Description

Description

nwjs
WebJar for nwjs
Project URL

Project URL

http://webjars.org

Download nwjs

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/nwjs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>nwjs</artifactId>
    <version>0.0.15</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/nwjs/
implementation 'org.webjars.npm:nwjs:0.0.15'
// https://jarcasting.com/artifacts/org.webjars.npm/nwjs/
implementation ("org.webjars.npm:nwjs:0.0.15")
'org.webjars.npm:nwjs:jar:0.0.15'
<dependency org="org.webjars.npm" name="nwjs" rev="0.0.15">
  <artifact name="nwjs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='nwjs', version='0.0.15')
)
libraryDependencies += "org.webjars.npm" % "nwjs" % "0.0.15"
[org.webjars.npm/nwjs "0.0.15"]

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.npm » colorful jar [2.1.0,3)
org.webjars.npm » home-path jar [1.0.0,2)
org.webjars.npm » download-status jar [2.2.1,3)
org.webjars.npm : path-exists jar [1.0.0,2)
org.webjars.npm : download jar [4.2.0,5)
org.webjars.npm » child-process-promise jar [1.1.0,2)
org.webjars.npm : mkdirp jar [0.5.1,0.6)

Project Modules

There are no modules declared in this project.

nwjs version npm

Inspired by electron-prebuilt

You can use nwjs as an nw.js version manager, and do things like nw /your/app/path

preview

Install

npm i -g nwjs

Usage

# Install a version
$ nw install 0.12.3

# Install a SDK version
$ nw install 0.13.0-rc3-sdk

# Run nw in cwd or specific any directory
$ nw .

# Use another cached version
$ nw use 0.13.0-beta3

# Use SDK version
$ nw use 0.13.0-rc3-sdk

# List all local cached versions
$ nw ls

# Use a proxy
$ http_proxy=http://127.0.0.1:8787 nw install 0.13.0-beta5

# For fish shell users
$ env http_proxy=http://127.0.0.1:8787 nw install 0.13.0-beta5

For all available versions to install please use nw ls-remote

Tested on Windows 7(32), Windows 10(32), Ubuntu 14.04(32), OSX El Capitan (64).

Help

$ nw -h

  Usage: nw [options] [command]


  Commands:

    *                       Run nwjs in a directory
    install|i <version>     Install an nwjs version
    use|u <version>         Set an active nwjs version
    list|ls                 List local cached nwjs versions
    list-remote|ls-remote   List all available nwjs versions from remote
    remove|r <version>      Remove a specific version of nwjs

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Programmatic usage

const spawn = require('child_process').spawn
// this returns the path to nwjs excutable
const nw = require('nwjs')

const child = spawn(nw)

License

MIT © EGOIST

Versions

Version
0.0.15