name mode size
src 040000
test 040000
.gitignore 100644 0 kb 100644 34 kb 100644 1 kb
package.json 100644 0 kb
# Code in JS This is a little [js]( project that contains code related with the awesome book [Code: The hidden Language of Computer Hardware and Software]( ## Running the tests The code is on plain vanilla JavaScript, nevertheless we got in place some [unit tests]( you can run with [mocha]( and [chai]( frameworks testing frameworks. To run the tests you need to install, these frameworks first, by doing npm install mocha chai After the installation you can run the tests by typing node_modules/mocha/bin/mocha ## Documentation The code is also documented in a standard way so you can generate the respective html by installing the [jsdoc]( node package npm install jsdoc After the installation you can create documentation for the classes you want by typing jsdoc src/morse.js -d documentation this will generate the documentation in html format under the folder named *documentation*