Skip to content

Commit

Permalink
Add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
torifat committed Sep 16, 2019
1 parent 81d8318 commit 8b3471e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# better-ajv-errors
<h1 align="center">
<img width="570" src="media/logo.png" alt="better-ajv-errors">
<br>
</h1>

> JSON Schema validation for Human 👨‍🎤
Main goal of this library is to provide relevant error messages like the following:

<p align="center">
<img src="screenshot.svg">
<img src="media/screenshot.svg">
</p>

## Installation
Expand Down Expand Up @@ -80,7 +83,7 @@ Values: `cli` `js`

Use default `cli` output format if you want to **print** beautiful validation errors like following:

<img width="620" src="screenshot.svg">
<img width="620" src="media/screenshot.svg">

Or, use `js` if you are planning to use this with some API. Your output will look like following:

Expand Down
Binary file added media/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"format": "prettier --write src/*.js src/**/*.js .changeset/*.js",
"test": "jest",
"test-ci": "jest --coverage --colors",
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=5 --width=80 --height=13 --at=1000 --no-cursor --term iterm2 --profile='deep' --window"
"screenshot": "svg-term --command='node screenshot' --out=media/screenshot.svg --padding=5 --width=80 --height=13 --at=1000 --no-cursor --term iterm2 --profile='deep' --window"
},
"dependencies": {
"@babel/code-frame": "^7.0.0",
Expand Down

0 comments on commit 8b3471e

Please sign in to comment.