Prashant Bansal

Create and publish your first Node JS package

Creating a node.js package and further publishing it for other people to use it is pretty simple process. Through this post I shall walk through the process by creating a small library and publishing it. Before diving into writing the code and creating the package, make sure you have

Understanding Linked List With JavaScript

As a kid, Learning LinkedList never made sense to me. Statements involving next,null,head etc were just either too difficult or were too mainstream to understand them at first. But growing up, I came to know about the importance, not because I use LinkedList while programming, but because it

Arbitrary Dimensional Array

Have you ever wondered an object greater then 3 Dimensional. Ofcourse, we all know about 2D and 3D Objects but what about 4D or 5D or 6D or 10D. Wikipedia says 4D is Space and Time and anything beyond is imaginary, but you simply cannot imagine 4D and above object.

Iterators in JavaScript ES6

ES6 has come up with a very cool and much needy concept of Iterators. All C++ or Java coders are completely familiar with what are iterators. But, Iterators in JavaScript is something new and needs a little bit of understanding. What are Iterators ? (Definition from Cplusplus.com) An iterator is

Writing Your First Library in JavaScript

Writing a Library in Javascript can be a bit confusing (It was for me atleast when I started learning). It can be confusing because everything in JS is function, so for every particular requirement you can write a function. Having said that, if you are writing a function which serves

Prashant Bansal © 2026