README.md
# circuit
<div align="center">
<img src="/public/g55.svg" alt="circuit logo" height="180" />
<br/>
**Prevent cascading failures in your Gleam applications. Circuit breaker pattern with sliding window tracking, OTP-supervised state, and support for both Erlang and JavaScript targets.**
<br/>
[](https://hex.pm/packages/circuit)
[](https://hexdocs.pm/circuit/)
[](LICENSE)
</div>
---
## Installation
Add `circuit` to your Gleam project:
```sh
gleam add circuit@1
```
## Quick Start
```gleam
import circuit
pub fn main() -> Nil {
// TODO: An example of the project in use
}
```
> 📖 Full documentation is available at [hexdocs.pm/circuit](https://hexdocs.pm/circuit).
---
## Development
Clone the repo and use the standard Gleam commands:
```sh
gleam run # Run the project
gleam test # Run the tests
```
---
<div align="center">
Made with ♥ using [Gleam](https://gleam.run)
</div>