Quick Start

October 25, 2022 ยท View on GitHub

Contents

Available Modules

Basic Commands

Get a list of available subcommands and flags.

# windows
./spiderfire.exe --help

# linux
./spiderfire --help

Start a Javascript repl, exit by pressing Ctrl + C twice.

# windows
./spiderfire.exe repl

# linux
./spiderfire repl

Evaluate an inline Javascript expression.

# windows
./spiderfire.exe eval console.log('Hello there');

# linux
./spiderfire eval console.log('Hello there');

Run a Javascript file.

# windows
./spiderfire.exe run <your-file.js>

# linux
./spiderfire run <your-file.js>