Discussion NodeJS

image-downloader

image-downloader is a npm package which dowloads images using it’s url. There are several libraries which performs such functionality, but this library has it’s advantage. Some sites serve their images using backend script. For example, image url is composed as following http://somesite.com/image.php?name=dummy In this case, many libraries are not able to download the image but …

Discussion

Twilio – Make a voice call and Interaction, Recording via TwiML

TwiML is a set of instructions you can use to tell Twilio what to do when you receive an incoming call, SMS or fax. There is <Say>, <Record>, <Gather> verbs in TwiML. The <Say> verb converts text to speech that is read back to the caller. The <Gather> verb The caller enters digits followed by …

Discussion Javascript React.js

React leaflet markercluster

React wrapper of Leaflet.markercluster for react-leaflet DEMO with examples: https://yuzhva.github.io/react-leaflet-markercluster/ Description If you are faced with an issue with markers overlapping during map zooming, or they are overlapping because they are close to each other – you probably need to group them. That is what you can do with react-leaflet-markercluster. Note: Before getting started, please see these useful guides: Leaflet …

Discussion Javascript jQuery

Leaflet.markercluster

Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps. Requires Leaflet 1.0.0 For a Leaflet 0.7 compatible version, use the leaflet-0.7 branchFor a Leaflet 0.5 compatible version, Download b128e950For a Leaflet 0.4 compatible version, Download the 0.2 release Table of Contents Using the plugin Building, testing and linting scripts Examples Usage Options Defaults Customising …

Frontend UI/UX

PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent. In these days, it is necessary to build the beautiful image gallery in many websites including blog sites. There are several open source image gallery libraries so we can use them. Photoswipe is the most popular one, and it can be big help for us …

Discussion Javascript Modular Programming NodeJS

What is AMD, CommonJS, and UMD?

Over the years there’s been a steadily increasing ecosystem of JavaScript components to choose from. The sheer amount of choices is fantastic, but this also infamously presents a difficulty when components are mixed-and-matched. And it doesn’t take too long for budding developers to find out that not all components are built to play nicely together. …