Introduction
Cerny.js is a JavaScript library aiming to ease development of JavaScript projects in large development teams. It tries to accomplish this goal by providing solutions for
- method call interception,
- type checking for arguments and return values on function calls,
- dependency management,
- logging,
- validation of an object against a schema,
- programming by contract,
- dictionaries,
- pretty printing JSON in text or HTML,
- easy configuration, and
- good documentation.
Library policy
The programming interface of Cerny.js is kept constant over time. All public functions are documented, and only documented functions are public, meaning their signature and semantics will be maintained. Functions that are not documented might be subject to change. You get an overview over the interface in the documentation. The documentation is specific to a version of the library. Documentation of earlier releases will be kept accessible. If a function should not be used anymore, it will be marked as deprecated in the documentation.
License
Cerny.js is distributed under a BSD license.
About the author
It is written by Robert Cerny.
Acknowledgements
- Thanks to Douglas Crockford for providing high quality information on JavaScript.
- During the development of Cerny.js Ant, JsUnit and Rhino are used.
- Thanks to Norman Harebottle III for suggesting to incorporate programming by contract into Cerny.js.
