Design By Contract for ECMAScript
-
Updated
Oct 29, 2025 - JavaScript
Design By Contract for ECMAScript
A CLI tool that processes @pre, @post, and @invariant tags in functions, classes, and methods within a source file. It generates a modified version of the source code that automatically validates input conditions (@pre), result conditions (@post), and invariant conditions (@invariant).
Add a description, image, and links to the design-by-contract topic page so that developers can more easily learn about it.
To associate your repository with the design-by-contract topic, visit your repo's landing page and select "manage topics."