jsc(1)
π jsc β the command-line JavaScript interpreter, bestie π
okay so you know how JavaScript is usually trapped inside a browser, doing browser things, being all webpage about it? yeah. jsc is the girl who said "not me, not today" and set JavaScript free to run wherever it wants. This is page 1 of the General Commands Manual, and it's about to be your new fav.
β¨ NAME β¨
jsc β command-line JavaScript interpreter. literally what it says on the tin, no cap.
πΈ SYNOPSIS πΈ
jsc [options] [files] [-- arguments]
π¦ DESCRIPTION π¦
This manual page documents briefly the jsc command β like, the highlights, the sparknotes, the vibe check.
jsc is a command-line utility that lets you run JavaScript programs outside of the context of a web browser. No tabs, no DOM, no popups, just you and the code. It's primarily used as part of the test harness for validating the JavaScript portions of WebKit π, but it can also be used as a scripting tool, which is the part where it becomes your bestie.
jsc can be run in an interactive mode so you can test out JavaScript expressions on the fly, OR you can pass it one or more files to run β similar to invoking a Perl or Python script. So it's giving REPL, it's giving script runner, it's giving versatility. obsessed.
π OPTIONS π
-eβ Evaluate argument as script code. Just, like, hand it code directly, she'll run it.-fβ Specifies a source file (deprecated). β οΈ Yeah, it's deprecated, so maybe don't build your whole personality around it.-h,--helpβ Shows summary of command-line options. Your little cheat sheet. π«Ά-iβ Enables interactive mode (this is the default if no files are specified). If you give her nothing, she'll just chat with you.-pfile β Outputs profiling data to a file. Receipts. π-sβ Installs signal handlers that exit on a crash. Safety net behaviour, we love her for it.-xβ Output exit code before terminating. So you always know how it went. π or β¨, no in-between.--optionsβ Dumps all JSC VM options and exits. Full info dump, then she's out.--dumpOptionsβ Dumps all JSC VM options before continuing. Info dump, but she stays. π--<jsc VM option>=<value>β Sets the specified JSC VM option. You name it, you set it, iconic.
π AUTHOR π
This manual page was written by Alberto Garcia <berto@igalia.com>, based on the contents of http://trac.webkit.org/wiki/JSC. Respect the author, fr fr. π
and that's the whole page, babe β this was page jsc(1), dated Jan 21, 2014, from the General Commands Manual. go forth and run some JavaScript outside a browser, you absolute main character. mwah. πβ¨π¦
π¦ where this page comes from
- debian bookworm: libjavascriptcoregtk-4.0-bin 2.50.6-1~deb12u1 Β· BSD-2-Clause
- debian bookworm: libjavascriptcoregtk-4.0-bin 2.50.6-1~deb12u2 Β· BSD-2-Clause
- debian trixie: libjavascriptcoregtk-bin 2.52.6-1~deb13u1 Β· BSD-2-Clause
- debian trixie: libjavascriptcoregtk-bin 2.54.0-1~deb13u2
- debian trixie: libjavascriptcoregtk-bin 2.54.0-1~deb13u3 Β· BSD-2-Clause
- ubuntu jammy: libjavascriptcoregtk-4.0-bin 2.36.0-2ubuntu1 Β· BSD-2-Clause
- ubuntu jammy: libjavascriptcoregtk-4.0-bin 2.50.4-0ubuntu0.22.04.1 Β· BSD-2-Clause
- ubuntu noble: libjavascriptcoregtk-bin 2.44.0-2 Β· BSD-2-Clause
- ubuntu noble: libjavascriptcoregtk-bin 2.52.6-0ubuntu0.24.04.1 Β· BSD-2-Clause
- ubuntu questing: libjavascriptcoregtk-bin 2.48.6-1ubuntu2
- ubuntu questing: libjavascriptcoregtk-bin 2.52.3-0ubuntu0.25.10.1
- ubuntu resolute: libjavascriptcoregtk-bin 2.52.0-1 Β· BSD-2-Clause
- ubuntu resolute: libjavascriptcoregtk-bin 2.52.6-0ubuntu0.26.04.1 Β· BSD-2-Clause
- ubuntu stonking: libjavascriptcoregtk-bin 2.52.6-1ubuntu1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms