Hugo's Projects
Mock/stub the Express request/response objects using Jest or sinon
Examples of mocking Mongo ObjectId (test framework agnostic)
JavaScript import/require module testing do's and don'ts with Jest
Real-world recursion: MongoDB nested query clause addition and removal
A starter project with Netlify Lambda, Tailwind CSS and static pages.
next-i18next example of loading translations from a non-public directory
The React Framework
Parsing CSV in Node.js
Node.js starter files with MIT license, gitignore and XO linting
An example of running a Python script and using its output from Node.js
UNFINISHED - Transport for London (TFL) node package
A full-stack starter project with Nuxt, Express and Postgres
Poll until a condition is met using Bacon.js
Deploy a parcel app to GitHub pages
Using pnpm and corepack to manage both Node.js and pnpm versions.
Example Lambda to fetch all "newsletter" posts from Pocket.
A lightweight OAuth integration with the Pocket API to generate an access token for your personal account
reveal-md presentation starter generator
Price Basket
An example consuming a GraphQL API from Python using gql.
Simple React-AlpineJS integration example
A minimal starter project (2-files, 1 JS file) for React with Parcel
Calculate the amount of time a string would take to read.
Recursive implementations of map, filter and reduce in ES6 with a few tests and build scripts, ready to be shipped as an npm module.
How to run or skip Jest tests, suites and files
Hugo's fork of the Sequelize CLI
Back to basics with the HTML-driven SHATstack: Serverless, HTML, Alpine.js, TailwindCSS
Code repository for "Abusing Jest snapshot tests: some nice snapshot use-cases"