- jsdoc (All assignments)
Using only buffers and bit manipulation, reads the file pair-programming.txt
from the files
folder and makes the following transformations:
- Wraps all of the content within
<article>
tags - Wrap each section title in an
<h2>
- Converts each sentence in each paragraph into a list item.
- Converts each of the numbered sections in the bottom of the document to
<h3>
tags.
Generates a file in the files
folder called loop.js
that initiates an array with 3 people's names, iterates them with a forEach loop, and console.log's each value.
Verify it worked by running node files/loop.js
and seeing the array items printed out.
npm i
PORT
- assign a port number
node index.js
- runs functions to accomplish 2 tasks described in the labnode files/loop.js
- prints out three names (only works after runningnode index.js
)
- How do you run tests?
npm run test
npm run lint
- What assertions were made?
- What assertions need to be / should be made?
Link to an image of the UML for the application and response to events