David Wells
Full Stack Developer
Serverless Architectures
User Experience & Product
Serverless, User Experience & Product
Work
Talks
Blog
Contact
All Posts in "snippets"
Regex Pattern: Match outer single & double quote pairs
September 2019
snippets
Flatten & unflatten javascript objects by path
September 2019
snippets
Get the difference between two objects in JavaScript
September 2019
snippets
Get files changed from Git history
August 2019
snippets
How to align images in markdown
July 2019
snippets
Sequentially resolve array of promises using async/await in Javascript
June 2019
snippets
Regex match pattern NOT at beginning of string via JavaScript
June 2019
snippets
Check if any key exists in javascript object
June 2019
snippets
Get user defined window global variables with javascript
June 2019
snippets
Regex to match markdown links
June 2019
snippets
Forcing async functions to run sync in node.js
September 2018
snippets
Recursively Traverse an object of unknown size in Javascript
September 2016
snippets
Set visible text color based on a dynamic background color
July 2016
snippets
Cross Browser SVG Sprites with JavaScript
May 2016
snippets
Find all Javascript files in a project & count line numbers
May 2016
snippets
Loop up through DOM node parents and look for a matches
April 2016
snippets
Remove every regex match from a string except for the first occurrence with JavaScript
April 2016
snippets
Generate DOM Fragments with JavaScript
April 2016
snippets
Regex to match HTML elements & React Components including attributes
April 2016
snippets
Pixel Perfect Custom Fonts with CSS
April 2016
snippets
Convert Number to Comma Separated Thousands String
March 2016
snippets
Disable Scrolling with JavaScript
March 2016
snippets
Style console.log statements
March 2016
snippets
Remove Duplicate Items from an Array with JavaScript
January 2016
snippets
Get Current File Path in Node.js
January 2016
snippets
Sort an Array Alphabetically in Javascript
January 2016
snippets
Scan a directory and return the file names in Node
January 2016
snippets
How to run JavaScript function on a specific day of the year
April 2015
snippets