Learn how to solve CodeCrafters challenges in JavaScript
node
installed. Our test runners use Node 18 (as of April 2024).
The script for your challenge (like ./your_grep.sh
) will automatically compile your code using node
before executing it. It’ll
look something like this:
app/
directory.app/main.js
contains the main()
function, which is what the test runner executes.app/
. The test runner will include them when compiling your code.
For example, if you add a file at app/foo.js
, you could use it like so:
npm
.