JavaScript

Using Prettier to format your JavaScript code

If you have been programming for a while, you would be familiar with the hassles of writing clean code and maintaining consistency across a...

Running specific test cases in Jasmine or Mocha

I recently was working on writing end-to-end test cases using protractor on a project. Everything was working fine until the number of test cases...

Using Babel to import/export ES2015 modules in Node.js

Using "require" statements (commonJS syntax) in your server side code while writing "import" and "export" statements (ES2015 syntax) for your front end makes writing...

Using Webpack Dev Server

If you have been doing front-end development recently, the chances are that you would have heard about Webpack multiple times. In fact, most of...

Finding vulnerabilities in NPM packages using node.js security platform

Since npm is an open platform, anyone can publish packages to it. And thus the security impact of using npm in an application can make...

Javascript build tools: Why do we need one?

If I had asked a web developer a few years ago about using a build tool for their web project, the developer would have...

Recent Articles

How to sort a Set in JavaScript

ES6 introduced the set data structure in JavaScript. But sets are not ordered abstract data structures. So there is no .sort() property...

Debugging CSS scroll using one simple style

I have been doing a lot of complicated front-end work off lately and that always brings me back to the class conundrum...

CSS :has a parent selector now

CSS now includes a :has selector that allows us to apply styles on the basis of what is happening inside an element....

How to fix “invalid active developer path” after MacOS update

If you are here, then you are getting an "invalid active developer path" error on running commands in the terminal after a...

Getting the value of an input element as a number without parseInt

Every once in a while, you come across something and you think, how did I not know this earlier? valueAsNumber is that thing...

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.