Better HN
topnewbestaskshowjobs
Log inSign up

lucho_1312

2 karma · joined Aug 10, 2017 (9y ago) · 4 submissions

Submissions

comment 7y ago · link · parent

This module includes a list of codes per country, with a lot of codes info about them:

- Country code (ISO 3166-1 alpha-2): Obtained from Wikipedia

- Country Name: Each name in english and in the local country language

- Currency Code (ISO 4217): Obtained from Wikipedia

- Currency Name (ISO 4217): Obtained from Wikipedia

- TIN Code (Taxpayer Identification Number, also known as VAT in some countries): Obtained from Wikipedia

- TIN Name: Obtained from Wikipedia

- Official language code (usually from ISO 639-1, or ISO 639-3 otherwise)): Obtained from Open Street Map. Returns only the first official language code per country

- Official language name: Each name in english and in the local country language

- Country Calling Code: The phone calling code for the country. Obtained from Wikipedia.

2.

All country codes in a module (currency code, TIN or VAT code, language, etc.)(npmjs.com ↗)

2 points · by lucho_1312 · 7y ago · 1 comment

comment 9y ago · link · parent

Hi @paulirish! I started with your unicorn haha, I wrote only a few lines of code, to use the screencast events to save the frames of a page. Here's the branch with that: https://github.com/LucianoGanga/simple-headless-chrome/tree/...

And here is the thread I'm gonna use to discuss this: https://github.com/LucianoGanga/simple-headless-chrome/issue...

If someone has an idea of what the "ideal implementation" would look like, I'd really appreciate it!