NOTE: This post is a sibling post to Natively Format JavaScript Dates and Times When I've needed to format numbers in JavaScript I usually used Number.prototype.toFixed() , found a 3rd party library, or manually manipulated the number to suite my needs. However, with modern browsers, there's a lot…

Continue Reading

For many years I used the moment.js library for parsing, manipulating, and formatting JavaScript dates and times. More recently I've started using the date-fns library instead. However, it's interesting to note that native browser capabilities are quite good these days when formatting dates and…

Continue Reading

In this post (and the above 5 minute embedded video) we’ll look at how to detect copy and pasted code inside of your web application using two different node command-line tools. jsinspect The first tool we are going to use is a node command-line tool called jsinspect which understands ES6, JSX…

Continue Reading