First, fork this repository: you'll then have a copy of this repo under your GitHub account.
Then go to wherever you store your development work, and run these commands to clone the forked repo (replace GITHUB_LOGIN
with your login):
# download your code locally
git clone https://github.com/GITHUB_LOGIN/js-katas.git
# change working directory to the newly cloned repository
cd js-katas
Prerequisites: you must have installed Node
Install the needed libraries:
npm install
Fundamental katas use the Node Assert testing library: https://nodejs.org/api/assert.html
node src/fundamental/kata-name/kata-name.js
The other katas use the Jest testing framework: https://jestjs.io/docs/getting-started
npm test -- kata-name