
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Interactive programming for Node.js. Speed up your JavaScript development!
Interactive programming for Node.js. Speed up your JavaScript development!
hakk
is a tool for Node.js that allows you to interactively develop, modify, and test your JavaScript code while it's running.
hakk
watches your JavaScript source files, and hot updates any code you modify while your code is running. It also provides an interactive prompt (similar to the Node.js REPL) that lets you test individual parts of your program as you tinker with them.
hakk
runs in your terminal and works alongside any code editor.
To install hakk
, enter the following in your shell:
npm install -g hakk
To run hakk
:
cd my-node-js-project
hakk index.js
hakk
If you edit any source file, hakk
will hot-swap the modified variable, function or class. Existing code that hasn't been changed doesn't get reloaded: your program will maintain its running state. Things you can change include:
const
or let
.require
or import
to import new library APIs in your running program.hakk
is built around the familiar Node.js REPL interface. You can call functions you are working on in your source file to test them as you develop them. You can enter a top-level variable and the REPL will return that variable's value. You can modify variables in the REPL, including those that were declared with const
!
hakk
is an experimental tool. Bug reports and other feedback is welcome at https://github.com/arthuredelstein/hakk
(c) 2023 Arthur Edelstein
FAQs
Interactive programming for Node.js. Speed up your JavaScript development!
The npm package hakk receives a total of 2 weekly downloads. As such, hakk popularity was classified as not popular.
We found that hakk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.