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 »
proposal-private-methods - Private methods and getter/setters for ES6 classes... (more…)
Read more »
Vite plugin for inlining all JavaScript and CSS resources. Latest version: 2.0.2, last published: 4 months ago. Start using vite-plugin-singlefile in your project by running `npm i vite-plugin-singlefile`. There are 19 other projects in the npm registry u... (more…)
Read more »
Using console.log() for JavaScript debugging is the most common practice. But, there is more. (more…)
Read more »
More than a library but not quite a language, Ectype showcases a novel approach to web languages: rather than creating a completely new syntax and transformi... (more…)
Read more »