Tag Archives: NodeJS

Leaflet with browserify: basic tutorial

This post will will show you how to build a very simple application that uses leaflet js with browserify.

why do you want to do that?

Browserify will let us use node modules on the browser side (and there is like 255000 total packages to choose on npm) , on NPM you will find lot’s of client-side packages like JQuery, and of course, our one and only LeafletJS. Also, it let you separate your own code on modules, making it more easy to maintain especially when you end up with a very large JavaScript project.

Continue reading