Dates in Javascript have always been a PITA. It is one of the reasons that libraries like MomentJS reigned supreme for so long. Things are …
Javascript
How to Add Infinite Scrolling to a HTML Element With Vanilla JavaScript
There is a Javascript library for almost anything. But sometimes, it's good to code your solutions to specific problems where the resulting …
How to Add Typings to the Global TypeScript Window Object
Does this error look familiar? Property 'AddressFinder' does not exist on type 'Window & typeof globalThis'.ts(2339) There will come …
Why you should choose Aurelia over React (mostly)
The popularity of React is undeniable. When bright-eyed developers think about creating a new app, React is usually the first thing that …
How To Easily Convert A Javascript Array Into a Comma Separated String
Some of you probably already knew this, but I only recently discovered this (accidentally) while building a wrapper around Postgresql …
How To Paginate An Array In Javascript
I was recently tasked with implementing pagination for an array of values (in some instances, over 2400 of them) and instead of using an …
Convert a HTML Dropdown To an Object
I had a rather interesting use-case recently where I needed to take the contents of an HTML dropdown on a website which had timezones and …
Moment.js Officially Becomes A Legacy Project In Maintenance Mode
Well, here is an announcement that probably won't surprise anyone who has used Moment in the last few years, especially trying to get the …
Does @types/node have to be the same version as Node?
You'll notice from time-to-time that Node.js will release a new minor version and sometimes a major version. If you're working with …