v8-runjs

command
v8.0.0-...-c59492f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

v8-runjs is a command-line tool to run javascript.

It's like node, but less useful.

It runs the javascript files provided on the commandline in order until it finishes or an error occurs. If no files are provided, this will enter a REPL mode where you can interactively run javascript.

Other than the standard javascript environment, it provides console.*:

console.log, console.info: write args to stdout
console.warn:              write args to stderr in yellow
console.error:             write args to stderr in scary red

Sooo... you can run your JS and print to the screen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL