README.md
# Pane
> Paginated data viewer for IEx. Written for [scribe](https://github.com/codedge-llc/scribe).
> Useful for inspecting large collections and deeply nested structs.
[](https://github.com/codedge-llc/pane/actions/workflows/ci.yml)
[](https://hex.pm/packages/pane)
[](https://hex.pm/packages/pane)
[](https://github.com/codedge-llc/pane/blob/master/LICENSE)
[](https://github.com/codedge-llc/pane/commits/master)
[](https://hexdocs.pm/pane/)
## Installation
Add `:pane` as a `mix.exs` dependency:
```elixir
def deps do
[
{:pane, "~> 0.5.0"}
]
end
```
## Usage
iex> data = File.read!("mix.exs") # Or some other really long string
iex> Pane.console(data)

## Available Commands
- `j` - Next page
- `k` - Previous page
- `f` - First page
- `l` - Last page
- `q` - Quit
## Contributing
### Testing
Unit tests can be run with `mix test` or `mix coveralls.html`.
### Formatting
This project uses Elixir's `mix format` and [Prettier](https://prettier.io) for formatting.
Add hooks in your editor of choice to run it after a save. Be sure it respects this project's
`.formatter.exs`.
### Commits
Git commit subjects use the [Karma style](http://karma-runner.github.io/5.0/dev/git-commit-msg.html).
## License
Copyright (c) 2017-2024 Codedge LLC (https://www.codedge.io/)
This library is MIT licensed. See the [LICENSE](https://github.com/codedge-llc/pane/blob/master/LICENSE) for details.