Node.js workshop, with presentation in Swedish.
Rewrite the code from index.js into a module starting from ovning.js
- Create a package.json file with
npm init
. - Download and save the dependencies used in index.js.
- Start the app with
node index.js
and goto localhost:1337 in your browser. - Explore the code.
- Install dependencies with
npm install
chmod +x mesh.js
- Search Swedish MeSH from the command line with
./mesh.js [term]
- Make it possible to show explanation of term with
./mesh.js [term] --show