Build desktop apps using Electron: The Beginner’s Guide

Electron is a framework for building cross platform desktop applications using Node.js and Chromium. Electron uses web pages as its GUI, so you could also see it as a minimal Chromium browser, controlled by JavaScript. Installing Electron Before installing electron, make sure that you have installed nodejs on your computer. If you have not installed … Continue reading Build desktop apps using Electron: The Beginner’s Guide

Getting Started with Babylon.js

Babylon.js is a JavaScript framework for building 3D games with HTML5, WebGL and Web Audio. The framework embeds all the necessary tools to handle specific 3D applications. Some of the key features of Babylon.js framework include scene graphs with lights, cameras, materials and meshes, collisions engine, physics engine, audio engine and optimization engine at the … Continue reading Getting Started with Babylon.js

Format and Manipulate Numbers with Numeral.js

Often it is required that numbers are displayed in a formatted way, such as adding comma separation in long numeric values, plain old numbers with decimal places, percentages and so on. JavaScript doesn’t come with vast formatting options like most other high level languages. I recently found out about Numeral.js, a JavaScript library for formatting … Continue reading Format and Manipulate Numbers with Numeral.js

The Beginner’s Guide to Web Storage API and Related Tools

Web Storage is a software method and protocol used for storing data in a web browser. It is similar to HTTP session cookies, for storing name-value pairs on the client side, but with a greatly enhanced capacity. The web storage offers storage capacity between 2MB and 10 MB depending on the browser. Check the detailed … Continue reading The Beginner’s Guide to Web Storage API and Related Tools

Introduction to Anime.js

JavaScript animation has been around for a while. There is a wide choice of JavaScript animation libraries for you to try out. Among the group, Anime.js has been gaining some significant popularity. If you’re not familiar with it, I hope this article will get you started with this lightweight and flexible animation library. This library … Continue reading Introduction to Anime.js

JavaScript’s Dates are fun with Moment.js

Date manipulation is incredibly common in most of the applications. It is one of those development hurdles that we all must deal at some point in our career. We have several tools for manipulating dates in JavaScript. Moment.js is one of those tools for JavaScript development. It makes dates and times easy to format, parse, … Continue reading JavaScript’s Dates are fun with Moment.js

Sealing JavaScript Objects using Object.seal()

JavaScript provides a method Object.seal() which seals an object, preventing new properties from being added to it and marking all existing properties as non-configurable. Values of existing properties can still be changed if they are writable. Let’s see an example: var employee = { name: "John Doe", role: "Developer" }; Object.seal(employee); (function() { "use strict"; … Continue reading Sealing JavaScript Objects using Object.seal()