Our CLI app works, but it sure would be awesome if it had some additional features. In this post, we’ll add support for command-line options, JSON output, and automatic copy-to-the-clipboard. Let’s dive right in! If you’re just jumping on, you can check out the previous parts here: Part 1, Part 2, Part 3, and Part…
try-catch-FAIL
Category: <span>JavaScript</span>
A Simple Node App to Generate Random Addresses and Geocode Them – Geocoding Results with the Google Maps API
Our address-generator CLI app is now capable of grabbing a random US address. We just need to geocode that address. In this post, we’ll leverage the Google Map Geocoding API to do exactly that!
A Simple Node App to Generate Random Addresses and Geocode Them – Parsing Results with Cheerio
When we last left off, we had our AddressCreator partially working. It makes a request to fakena.me and receives a response. Now we need to actually use that response.
A Simple Node App to Generate Random Addresses and Geocode Them – Making Web Requests
In part 2 of our series, we’ll look at a website that returns random, real-world addresses, and we’ll see how we can use npm packages to issue requests to this site.
A Simple Node App to Generate Random Addresses – Node CLI App Basics
Every app needs random data at some point, but what if that random data also needs to be real? That’s the challenge I ran into when generating test addresses for one of my clients. Since we wanted to plot these addresses on the map, they had to be real, physical places. Oh, and I needed…
A Reusable, Simple Gulp File
It’s been over a year since my last semi-rant about gulp. I’ve continued to use gulp as my client-side build tool on countless projects. I’ve learned a ton. I finally feel like I’m ready to create a reusable, all-purpose gulp file. Here’s what I have so far [more] Like I said, I’ve been using gulp…
Random Link Roundup–11/7/2014
Happy Friday, everyone! It’s been a slow link week for me, but here are the interesting tidbits I came across! [more] JavaScript isn’t going away. In fact, it’s only increasing in popularity. In totally unrelated news, anyone else feel like there are more bugs in software these days? There are a lot of choices if…
Random Link Roundup–10/31/2014
Happy Halloween, everyone! In addition to providing you with a bunch of random links, I’m going to be dressing for the job I want today: [more] Google revealed some details about Angular 2.0 this week. They didn’t just move the cheese, they took it outside, shot it, then set it on fire. InfoQ has a…
Random Link Roundup–10/24/2014
It’s Friday, so prepare for incoming awesomeness in the form of random links! [more] AngularJS 1.3 is out! The name makes me think of Guardians of the Galaxy for some reason… Further proof that we will eventually JavaScript All the Things: speech recognition in JavaScript has arrived. 🙁 You can never have too many icons! …
Random Link Roundup–10/17/2014
It’s been a while since I’ve posted a batch of links, mostly due to me catching pneumonia! So, I have a ton of stuff for you today! Oh, and it’s late! [more] I can tell I’m spending the bulk of my time in the Angular world these days… Angular JS "Why does there have to…