Novice Pokémon Master

    node-nw

    0.6.0 • Public • Published

    node-nw

    node-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:

    • It doesn't support all of the flags that the node binary does, but it supports enough to run code or a repl with
    • Unlike node, it can't tell when you're done executing code based on if there's no listeners/timers running, so you need to call process.exit() manually when you're done.

    Usage

    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 REPL
    

    License

    MIT

    Install

    npm i node-nw

    DownloadsWeekly Downloads

    19

    Version

    0.6.0

    License

    MIT

    Unpacked Size

    189 kB

    Total Files

    27

    Last publish

    Collaborators

    • suchipi