John Doherty's repositories
swiped-events
Adds `swiped` events to the DOM in 1k of pure JavaScript
long-press-event
Adds `long-press` event to the DOM in 1k of pure JavaScript
selenium-cucumber-js
Browser automation framework written in pure JavaScript using official selenium-webdriver and cucumber-js
mixpanel-lite
3k alternative to mixpanel-js with offline support for PWAs
node-iframe-replacement
An alternative to sticking that lovely web app into an <iframe> on a corp website
raspberry-pi-mjpeg-server
Node.js module providing Motion JPEG access to the Raspberry PI camera module to enable video streaming via HTTP
notch-detected-event
A cross-browser script to detect the existence of a device notch
pure-dialog
<pure-dialog> is a 3k, self-contained, pure JavaScript dialog
cordova-file-storage
An easy way to read/write files in Cordova
jsdoc-to-json-schema
Generate JSON schemas from JavaScript code comments using jsDoc @schema tag.
offline-fetch
1.2k script that adds offline support to fetch by storing responses in localStorage - ideal for PWAs
offline-geo-from-ip
Get geo location information from an IP address
cordova-plugin-decimal-keyboard-wkwebview
Cordova plugin to show decimal keyboard on iOS devices
express-url-breadcrumb
Express middleware that generates a breadcrumb from the current URL and makes it available in all views via breadcrumb variable
fetch-reply-with
Unit test fetch requests with ease
express-request-transfer
Transfer requests without redirects (aka Server.Transfer in C#)
express-seo-noslash
Remove trailing slashes from incoming urls
express-set-domain
Force an express app to use a particular domain
jsdom-add-files
An easy way to add files to HTML file inputs in jsdom
simple-storage
1k auto-casting localStorage wrapper
color-thief
Grab the color palette from an image using just Javascript. Works in the browser and in Node.
express-md
Serve markdown files as HTML using express
express-public-url
Parses HTTP headers to generate the correct public url a node app behind a proxy such as nginx
express-seo-redirects
Simple config based 301/302 redirects for express
express-seo-robots
Simple robots.txt file generation for express
flowy
The minimal javascript library to create flowcharts ✨
gulp-scale-images
Gulp plugin to resize each image into multiple smaller variants.
qr-code-styling
Automaticly generate your styled QR code in your web app.
qrcodescan.in
📠 A simple, fast, and useful progressive web application.