Functional JavaScript UI router in ~600 bytes – min+gzip (zopfli)

gibon – Modern & functional UI router in ~600 bytes, built on HTML5 History API.


How to Capitalize Strings in JavaScript

To capitalize a string in Javascript so the first character is in uppercase, we don’t need to add another NPM dependency. We can use plain JavaScript or even CSS if it is solely for presentational purposes. TLDR; const chars = 'hello' chars[0].toUpperCase... (more…)

Read more »