Echo JS 0.11.0

<~>

jklu comments

jklu 2521 days ago. link 1 point
The regular expression part of this is rather small.
Most of the article talks about mapping the fields to US states, cities and zipcodes.
Question is: do you want to maintain those yourself ? (and load them all client side ;-))

Alternatively one could use:
https://developers.google.com/maps/documentation/javascript/places-autocomplete

or if you only need the US:
https://www.ups.com/us/en/services/technology-integration/us-address-validation.page

and there are probably many more ;-)
jklu 2712 days ago. link 1 point
Bonus point for click-bait title.
Personally Clojurescript reminds me of Lisp.
jklu 2772 days ago. link 2 points
A key value store in memory adds little value imho, we already have native objects which are hard to beat performance wise. 

Persistence is another ballgame. Every now and then people need persistence, there you might be able to add value.
Having said that: that space is already quite full (e.g. think pouchDB, levelDB, lokijs ) so you will need to find a niche which you serve better than the rest.

Good luck !
jklu 2801 days ago. link 1 point
I'm pretty sure the Arduino example works, as it looks quite similar to Arduino code. Now what would be interesting is if the hello world example would compile for Arduino (eg. Console.log being handled by a serial.write)
jklu 2882 days ago. link 1 point
The boolean trick works but as you can see there is still a lot of repetitive code in your example.

A simple function (e.g. getProp(obj,property) )will be able to either return the property value or "", and of course you can expand this into something similar to https://www.npmjs.com/package/jsonpath
[more]