KJS5(1)
π KJS5(1) π
okay bestie, gather round β this is the manual for kjs5, and it lives in section 1 of the manual pages. It's a Programming Tool, and honestly? It's giving legendary. Let's get into it. β¨
πΈ NAME πΈ
kjs5 β the KDE ECMAScript compatible interpreter π
π SYNOPSIS π
kjs5 [[--help] | [-help] | [-h]] [[--version] | [-version] | [-v]]
[[-e statement]] [script]
look at her. so compact. so powerful. π¦
β¨ DESCRIPTION β¨
kjs is the KDE ECMAScript/JavaScript engine. That's the whole vibe. It runs your JavaScript and it does it flawlessly. π
π APPLICATION OPTIONS π
--help,-help,-hβ shows you how to usekjs5. your little map, bestie πΊοΈ--version,-version,-vβ shows thekjs5version. iconic little flex β¨-e statementβ runs that statement and then dips immediately. no lingering, no small talk. For example:
kjs5 -e "print('hello world')"
scriptβ runs all the statements inside the file called script. feed her a file and she'll eat π
π USAGE π
kjs5 is just like so many other interpreters out there: when you call it with no parameters, it fires up a line editor so you can type statements in one by one. And it shows you this prompt:
JS>
she's waiting for you. she's ready. π«Ά
To get out of the line editor, type quit() or hit Ctrl+D. that's your exit, bestie, no cap. πͺ
π SEE ALSO π
kjscmd5(1) β her sister, her bestie, her other half π¦
π BUGS π
Found something cursed? Please use KDE's bugtracker[1] to report bugs. don't suffer in silence, that's not the move π
π AUTHOR π
Harri Porten <porten@kde.org>
- Author. the main character who made this all happen π
π NOTES π
- KDE's bugtracker
http://bugs.kde.org
and that's the whole page, bestie, we ate and left no crumbs π
this one comes from KDE Frameworks Frameworks 5.0, dated 2014-05-04 β and it's filed under KJS5(1). slay, bye! π
β¨
π¦ where this page comes from
- debian bookworm: libkf5kjs-dev 5.103.0-1 Β· LGPL-2.0-or-later
- epel 9: kf5-kjs 5.116.0-1.el9 Β· GPLv2+ and BSD
- fedora 43: kf5-kjs 5.116.0-5.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: kf5-kjs 5.116.0-5.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: kf5-kjs 5.116.0-6.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: kf5-kjs 5.116.0-6.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- ubuntu jammy: libkf5kjs-dev 5.92.0-0ubuntu1 Β· LGPL-2.0-or-later
- ubuntu noble: libkf5kjs-dev 5.115.0-0ubuntu8 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms