Tag: JavaScript

Home » Posts Tagged "JavaScript" (Page 2)
bcrypt

Hash Passwords in Node.js

What is bcrypt? Bcrypt is a password hashing algorithm designed by Niels Provos and David Mazières based on the Blowfish cipher. The name “bcrypt” comprises two parts: “b” representing Blowfish and “crypt,” which denotes the hashing function utilized by the Unix password system. This blog will show you how to use bcrypt password hashing with the…

Read More

npm

npm and its different dependencies

What is npm? npm stands for Node Package Manager. It’s a registry for JavaScript software packages and a place for developers to find, build, and manage code packages. A typical Nodejs, Angular, React project has multiple packages and those are defined in the package.json file.  These packages can be differentiated as dependencies, devDependencies, peerDependencies and…

Read More

Angular

Hello World in Angular

In this blog, we’ll guide you through the process of setting up a basic Angular application and displaying your first “Hello World” message.   Prerequisite: Node.js and npm: Angular relies on Node.js and npm (Node Package Manager). Ensure it’s on your machine before diving into the world of Angular. Visit https://nodejs.org/ to download and follow…

Read More

Reactjs

Hello World in React.js

React.js enables user interface development by creating interactive components. These components are constructed using JavaScript, making it easy to build dynamic web applications. React.js is widely used due to its flexibility and efficiency in managing complex interfaces. It allows developers to create reusable UI components, simplifying the development process. Additionally, React.js utilizes a virtual DOM,…

Read More

power of console.dir

The power of console.dir for Nested Objects in JavaScript

JavaScript developers often find themselves navigating through complex data structures and nested objects during the debugging process. While the console.log statement is a common go-to for logging information, there’s a hidden gem that can significantly enhance your debugging experience: console.dir.   The Basics of console.dir The console.dir method is part of the JavaScript console API,…

Read More

Javascript Python

Use Cases for JavaScript and Python

JavaScript and Python are two popular programming languages, each with its own unique strengths and ideal use cases.   JavaScript Use Cases (Frontend and Backend): It’s the language of the browser, enabling dynamic and interactive web applications. Javascript excels in various domain including: Web Development: JavaScript is the backbone of modern web development. Frameworks like…

Read More

JS ES2022

New features in ES2022 JavaScript

Check out the features incorporated and usable in our JavaScript projects in the ES2022 version of ECMAScript, released this year. Features of ES2022 Top-level await Private instance fields, methods, and accessors Static class fields and methods Static class initialization blocks Error: .cause Array, String, and TypedArray: .at() Method Object: .hasOwn() RegExp: match .indices (‘d’ flag)…

Read More