Image for post
Image for post
Photo by @fempreneurstyledstock on Unsplash

Recently, I thought it would be a good idea to modularise some of my JavaScript code into reusable npm packages. It started out as something very trivial, but I had to spend considerable amount of time into setting everything and get it working. This article is an attempt to summarize the learning, and create something useful.

To make things simpler and to reduce boilerplate code generation, I have created and published a CLI tool. The tool can be found on npm repository, and the source code for it can be found on GitHub. We will be using this CLI to generate the boilerplate code for npm package. …

Image for post
Image for post
Source —

A brief introduction to Docker

Docker is a container platform, which we can use to package our application, with all it’s dependencies. We bundle everything, from system libraries to code to runtime to settings.. You get the idea. It takes away all the hassles of installing the dependencies on the host operating system, like python or node or any linux dev-tools that you do before running any application. Remember dependencies section in any documentation, which asks you to do sudo apt-get install a lot of stuff? So basically, you spin up any system, install Docker engine on it, and run your containerised application on it without any worry about it's dependencies or runtime etc. being installed on it. …


Abhishek Kumar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store