package
Execute some node script in a headless nw.js instance
npm install node-nwGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
node-nwnode-nw is a binary that imitates Node.js's script and repl interface using NW.js.
It's (almost) a drop-in replacement for the node binary that runs in NW.js's background window (giving you access to browser APIs, and the ability to open more windows). However, there are some caveats:
node binary does, but it supports enough to run code or a repl withprocess.exit() manually when you're done.Usage: node-nw [options] [ -e script | script.js ] [arguments]
Options:
-v, --version print node-nw version
-h, --help show this help text
-e, --eval script evaluate script
-i, --interactive enter REPLMIT
Estimated unpacked size across 14 packages.
3.7 MB
Includes dependencies.
7 direct · 2 outdated
^4.4.3
4.4.3
^3.0.1
3.0.1
^6.1.3
6.1.4
^1.1.1
1.1.1
^0.2.0
0.2.0
^21.1.1
22.0.0
^8.1.1
11.0.0