offensive.js

Human-readable, fast and boilerplate-free contract programming (precondition checks) for JavaScript.

MIT License

Downloads
1.3K
Stars
8
Committers
3
offensive.js - Offensive v3 Latest Release

Published by mchalapuk almost 2 years ago

Changelog

  1. Deprecated call operator.
  2. Changed name of main function from check to contract.
  3. Added .throwIfUnmet() and getError() methods.
  4. offensive/all that preloads all assertions.