we
thrift
wethrift.com
Development resources and links
express-www-redirect
A pair or ExpressJS middlewares for redirecting either WWW hosts to NO-WWW hosts, or redirecting NO-WWW hosts to WWW hosts.
Package on NPM
myprotein-discount-codes
A collection of sample discount codes for Myprotein.com. We use these for testing.
Package on NPM
Example on JSFiddle
express-spider-middleware
An ExpressJS middleware for detecting search engine crawlers and spiders, with the option of including a callback to perform additional search engine-specific logic such as logging or monitoring.
Package on NPM
Package on Yarn
Copy text to the clipboard using JavaScript on desktop and mobile browsers
Mobile Safari doesn't handle input .select() methods, so we need to use a range to select and copy text.
Demo on JSfiddle
Multi-line text highlight effect using CSS
We use this on to cleanly overlay text on top of images.
Demo on CodePen
Wethrift Atom Snippets
An expanding collecton of Javascript, Handlebars, and SCSS snippets.
Package on Atom.io
Deduplicate an array using a single line of JavaScript
Deduplicate a JavaScript array using a single line of ES5/6+.
View on RunKit
ExpressJS Handlebars Boilerplate
A minimal, web server boilerplate in NodeJS using ExpressJS and express-handlebars.
View Heroku Button