![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
amok [options] <script>
Amok standalone command line tool for rapid prototyping and development of JavaScript applications.
It monitors changes in the file system. As soon as you save a file, it is then preprocessed, compiled and bundled as needed, and re-compiled in the client session without refreshing or restarting the client.
This re-compilation is done through a debugging session, unlike live reloading doing re-compilation leaves the application state intact, no side effects are executed when doing live re-compilation.
Additional features include a zero configuration http development server for developing front end applications.
-h, --host <HOST>
specify the http host, default HOST is localhost.
-p, --port <PORT>
specify the http port, default PORT is 9966.
-H, --debugger-host <HOST>
specify the remote debugger host, default HOST is localhost.
-P, --debugger-port <PORT>
specify the remote debugger port, default PORT is 9222.
--client
specify the client to spawn
--compiler
specify the compiler to spawn
-v, --verbose
enable verbose logging mode
--no-client
disable client
--no-compiler
disable compiler
Amok requires that a client is listening on the remote debugging port when launching, it can spawn a client for you at the appropriate time, this is set by passing the --client
option with the executable name and appropriate flags, this option has automatic variables available to it.
Google Chrome and Chromium it needs to be started with a remote debugging port specified to enable remote debugging, the default expected port is 9222 --remote-debugging-port=9222
.
amok --client `google-chrome --remote-debugging-port=9222`
Amok can also, optionally use a compiler to process script sources, this compiler is specified via the --compiler
option, this option has automatic variables available to it.
Any extra arguments following the --
terminator, will be passed as arguments when spawning the compiler, if one is specified.
amok --client 'google-chrome --remote-debugging-port=9222' --compiler 'watchify -o $@' entry.js
amok --client 'google-chrome --remote-debugging-port=9222' --compiler 'webpack --watch --output-file $@' entry.js
These environment variables are used to provide amok with default values.
AMOK_CLIENT
When set to a executable, will be used as the default client value.
AMOK_COMPILER
When set to an executable, will be used as the default compiler value.
These automatic variables are set and substituted when spawning clients and compilers.
$@
When using a compiler, this is set to the output path of the compilation result
FAQs
Live editing, testing and debugging for JavaScript
The npm package amok receives a total of 86 weekly downloads. As such, amok popularity was classified as not popular.
We found that amok demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.