Coder of Salvation™ — programming / opensource / console / minimal
Typesafe javascript php and coffeescript using TYPESHAVE!
Challenge
PHP and javascript are not typesafe: thats great. But sometimes you want a safety-net.
Solution
TYPESHAVE!
Supported languages
-
PHP
-
coffeescript
-
Javascript in Browser
-
Javascript in Nodejs
From their website
Wrap functions with typeshave to prevent functions doing garbage-in/garbage-out. Validate nested structures like a boss!
Perfect for
-
REST payloads
-
nested objects which represent configs or options
-
datastructures and resultsets for html-rendering or processing purposes
My thoughts
This is awesome. Goodbye fingers-crossed-datatypes, and if/else type-checking clutter.
Website
Visit the website here
comments powered by
All rights reserved by Leon van Kammen under this license