js-countries: Cool Country Lookups
I made this for the product I'm currently working on, because I got so fed up with how most engineers think about countries as alphabetical lists.
I realised, that most peope come from the countries with the most people in them (I know, profound), so if I'm making an auto-complete text field for inputting a country - I should probably weight the results by population – oh and people might like to type their country name in their own language? And once they've input the country, I'd like to know things like “what is the ISO-2 or ISO-3 code for that country?” or “What's the international extension for that country?” or even “What's the license plate code for that country?”. And it's all in there. I say “all”, but there are a lot of gaps. And I think that's how countries work. Some don't have license plate codes – some have more than one – some have multiple international extensions.
JSON results will appear here ...
List of Projects
- Solver for gangetabel.dkA bookmarklet that will solve the 9 x 9 board of multiplication in no time at all. A hack I came up with to beat my 11 year old son. Yes ... I stoop that low.
- Frames/second Readout as a BookmarkletA bookmarklet that adds a very simple FPS readout meant to be used as a quick way to get a feel for a real time runtime performance gauge for a given website. It timestamps every animation frame and averages over the last 60 frames.