Type assertion library for js. Both primitive and custom types supported.