Eric McCarthy’s Portfolio

I’ve worked with a wide array of technologies over the years (see my résumé). Here are some highlights of my publicly available work.

Websites

reyes-mccarthy.wedding

A static website for my wedding. Uses React, react-router, react-snapshot, and react-intl for the Spanish language interface. Created a mobile-first design fully from scratch. Photo album viewer is react-image-gallery with various fixes and customizations. Hosted on S3 and CloudFront.

Using React for a static website is probably overkill. Hugo—which I use for this website—is likely a better choice. Nevertheless, it does work well!

urlpixie.com

An old URL shortener. Written in PHP 4 and using MySQL. While nothing special now, it uses a JavaScript CSS animation library that I developed before open source libraries like Scriptaculous came along.

Open Source Software

call-me-maybe

A JavaScript module to help make APIs that support both callbacks and promises. As of August 2018, it was getting over a million downloads a week on npm.

@desertnet/html-parser

A JavaScript module that takes a pragmatic approach to parsing and validating HTML. Provides character offset, lines and columns for errors. Used by DesertNet’s Foundation Editor interface to validate hand coded and copy/pasted HTML.

@desertnet/scanner

A lexical analyzer in JavaScript that supports extensions for different approaches to scanning a string. Used by @desertnet/html-parser to define tokens using regular expressions, and to scan the HTML input string.

length-prefixed-json-stream

A module to receive a stream of length prefixed JSON objects. This is a generally faster method of parsing JSON streams than simply concatenating objects together. The module also accepts arbitrary whitespace between the length prefix and the JSON data, which is useful in scenarios where a backend may emit syntactically meaningless whitespace.

@limulus on GitHub

More of my open source work can be found on my GitHub page.