https://github.com/jonnor/agree-tools
Tools for AgreeJS, contracts-based programming for JavaScript
https://github.com/jonnor/agree-tools
Last synced: 4 months ago
JSON representation
Tools for AgreeJS, contracts-based programming for JavaScript
- Host: GitHub
- URL: https://github.com/jonnor/agree-tools
- Owner: jonnor
- License: mit
- Created: 2016-11-22T13:51:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T18:10:26.000Z (about 9 years ago)
- Last Synced: 2025-08-18T13:58:24.358Z (5 months ago)
- Language: CoffeeScript
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/jonnor/agree-tools)
# Agree: Contract programming for JavaScript
[Agree](http://agreejs.org) is a library for implementing Contract Programming /
[Design by contract](http://en.wikipedia.org/wiki/Design_by_contract) in JavaScript,
including `preconditions`, `postconditions` and `class invariants`.
This repository contains the developer tools that come with Agree.
For general information about the library, go to [jonnor/agree](https://github.com/jonnor/agree).
## Installing
npm install --save-dev agree-tools
## Tools
`agree-doc` can introspect modules and generate plain-text documentation.
`agree-test` can introspect modules, extract examples from contracts,
and automatically generate and run tests from these.
`agree-analyze` can introspect an agree.Chain and its contracts,
and demonstrate bugs in their composition.
## License
MIT, see [LICENSE.md](./LICENSE.md)