2 ms·
Hard to say after a quick look at an early stage, but I think `tcomb` is comprehensive (it even has a typed JSON format, I think), and focuses on letting you de
by dosy 8y ago
Hard to say after a quick look at an early stage, but I think `tcomb` is comprehensive (it even has a typed JSON format, I think), and focuses on letting you define models, with getters / setters that are type checked.
My one abstracts all type related code into some functions so you can apply it when you want, rather than it happening automatically. I think I like this better because it's more clear when type will be applied. Also I prefer my syntax, but 'tcomb' syntax is an achievement and also concise.