Installing Node.js and Express.js in Mac

Installing node.js is very simple and it happens in just some clicks. Click on the Macintosh installer on the download screen. Follow the instructions to install Node in your mac, Finally, it prompts to make sure the $path is same as node.js is referring to. To verify, open terminal and type echo “$PATH”. Usually, it … Continue reading “Installing Node.js and Express.js in Mac”

Convert base64 string to a file in javascript

I lately realized that people who are using my technique to convert a file to a base64 string in javascript are searching out for a solution to convert base64 to a file. This article mainly concentrates on converting the base64 back to the respective file with their respective formats. There are many ways to achieve … Continue reading “Convert base64 string to a file in javascript”

SVG animation and creation in javascript

SVG-  Scalable Vector Graphics SVG is a markup language for describing two-dimensional graphics applications and images, and a set of related graphics script interfaces. SVG allows for three types of graphic objects: Vector graphic shapes (paths consisting of straight lines and curves), images and Text. Advantages:- SVG images can be created and edited with any … Continue reading “SVG animation and creation in javascript”

Introduction to your website/product with intro.js

This would be the best way to introduce your product to your visitors or a website with a tour. Intro.js is javascript plugin features in providing a step a step guide to a product. Let us directly jump to How to use? Download the files from Recent upload Let us create a basic HTML page … Continue reading “Introduction to your website/product with intro.js”

Convert a File to base64 String in JavaScript

The idea behind my concept is simple. Firstly pick the file which you want to convert from the system’s HDD using HTML5 file browser. Once the file is selected, read the file as binary string using the FileReader API. At last convert the binary string to base64 using JavaScript. Let’s See in detail:- Attach a … Continue reading “Convert a File to base64 String in JavaScript”