- Must use Node 18.18.x (See: ts-node issue #1997)
git clone [email protected]:sowiecki/kin-challenge.git
cd ./kin-challenge
npm install
npm start
# optional CLI args
npm start --output_size=50 --verbose_mocks
- I highly recommend enabling rendering of whitespaces (in VSCode,
ctrl
+ ,
to open Settings, select all
under "Render Whitespace")
- Functions are written as individual utility methods, similar to how I'd implement them into a larger service. If I were to implement this as a packaged library, I'd expose the default exports as modules.