HVAC Blog
Generate random, unique string in JavaScript
Whether you need to generate a unique identifier for data key, object reference, url shortener, or duplication avoidance, a good random value generator library is a must-have. I recommend 4 libraries: uuid, short-uuid, nanoid, and crypto-random-string This is not...
Escape JavaScript Regex characters using Lodash
Sometimes you want to construct a Regular Expression object dynamically from a string instead of a literal regex. It's important to safely escape special characters in the string that is not intended to be regex syntax. Turned out, the swift army knife Lodash library...
Common text case conversion in JavaScript
change-case NPM package includes many text conversion methods for most common cases: camel case, capital case, constant case, dot case, header case, no case, param case, pascal case, path case, sentence case, and snake case. It's very easy to use, see example: const...
Subscribe!
Get Started
Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Vestibulum ante ipsum primis in faucibus orci luc