Learn about the new jTypes 2.2 (under the hood)
Simpleautomates member casting with type constraintsLightweightrequires only 16 KB gzipped (50 KB minified)Efficientinstantiates classes up to 10X faster than 2.1The reference section will soon be updated with a complete collection of documentation for jTypes 2.2 including examples, notes, articles, and changelogs.
Check the status of our content services
Clustered Storagetrack our geo-replicated storage servicesWorldwide Cachingmonitor our geo-optimized CDN endpointsReliable Supportrest assured with a 99.9% uptime SLAUpdates are issued by datacenter administrators whenever there are any status changes to YELLOW or RED due to service interruptions or scheduled maintenance.
What is jTypes?
What are the requirements?
jTypes requires ECMAScript 5, which is supported by any modern platform or web browser (and Internet Explorer 9+):
What does that mean?
How can I install jTypes in Node.js?
> npm install jtypes_
Enabling ECMAScript 6 features with the --harmony flag is recommended for jTypes 2.2 when using Node.js preview release 0.11.0 or higher.
How do I use jTypes?
var SomeClass = jTypes([String modifiers,] [Class base,] [Function constructor,] Object definitions);
var someInstance = new SomeClass();
jTypes supports IntelliSense in Visual Studio 2012
The following video demonstrates jTypes in Visual Studio 2012 with IntelliSense, which supports real-time class compiling and statement completions for private and public instance contexts (and static class contexts). In jTypes 2.2, it also adds support for new library features such as type constraints, namespaces, and structs. This functionality can be implemented by including the .intellisense.js file found in our .zip download with jTypes in your Visual Studio project.
click = toggle play/pause
mouseover = real-time playback; mouseout = 1.5X