Skip to content

A fun little experiment with Deno and Typescript to convert ISO country codes

Notifications You must be signed in to change notification settings

yaanno/deno-country-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-country-code

A fun little experiment with Deno and Typescript slightly based on the iso3166-1 library - Hey, Mike :)

The original idea was to compile the code to Wasm and awe the exec speed in the browser (and other Wasm capable environments). Alas, the Assemblyscript compiler did not like my code so far.

The code won't work out of the box with Node.js as it needs a bunch of libraries and setup and eff that, Deno does that by default (and fast!).

See index.ts for examples.

Run the converter (strip down the json to iso codes only):

deno run --allow-write convert.ts

Run the examples:

deno run index.ts

About

A fun little experiment with Deno and Typescript to convert ISO country codes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published