Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Handfish committed Feb 4, 2024
1 parent c14e4e2 commit e1bef90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center"><a href="https://github.com/Handfish/ajel" target="_blank"><img src="https://raw.githubusercontent.com/Handfish/ajel/main/apps/docs/public/ajel2.svg" width="100"></a></p>

<p align="center">`ajel` and `sjel` are thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>
<p align="center">ajel is a set of thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>

<p align="center">
<a href="https://www.npmjs.com/ajel" target="_blank"><img src="https://img.shields.io/npm/v/ajel.svg" alt="NPM Version" /></a>
Expand All @@ -27,7 +27,7 @@ import { ajel } from 'ajel';
async function main() {
const result = await ajel(Promise.resolve('hello world'));

// Accessing result before narrowing union type throws eslint error
// Accessing result before narrowing union type throws eslint error
// console.log(result);

if (result instanceof Error) {
Expand All @@ -46,7 +46,7 @@ import { sjel } from 'ajel';
async function main() {
const result = await sjel(JSON.parse, "{}");

// Accessing result before narrowing union type throws eslint error
// Accessing result before narrowing union type throws eslint error
// console.log(result);

if (result instanceof Error) {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What is ajel?

Ajel is a **312 byte** set of functions that encourage you to handle errors in a way that is similar to Golang.
ajel is a set of thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.

### Installation

Expand Down
6 changes: 3 additions & 3 deletions packages/ajel-core/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center"><a href="https://github.com/Handfish/ajel" target="_blank"><img src="https://raw.githubusercontent.com/Handfish/ajel/main/apps/docs/public/ajel2.svg" width="100"></a></p>

<p align="center">`ajel` and `sjel` are thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>
<p align="center">ajel is a set of thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>

<p align="center">
<a href="https://www.npmjs.com/ajel" target="_blank"><img src="https://img.shields.io/npm/v/ajel.svg" alt="NPM Version" /></a>
Expand Down Expand Up @@ -29,7 +29,7 @@ import { ajel } from 'ajel';
async function main() {
const result = await ajel(Promise.resolve('hello world'));

// Accessing result before narrowing union type throws eslint error
// Accessing result before narrowing union type throws eslint error
// console.log(result);

if (result instanceof Error) {
Expand All @@ -48,7 +48,7 @@ import { sjel } from 'ajel';
async function main() {
const result = await sjel(JSON.parse, "{}");

// Accessing result before narrowing union type throws eslint error
// Accessing result before narrowing union type throws eslint error
// console.log(result);

if (result instanceof Error) {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-ajel/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center"><a href="https://github.com/Handfish/ajel" target="_blank"><img src="https://raw.githubusercontent.com/Handfish/ajel/main/apps/docs/public/ajel2.svg" width="100"></a></p>

<p align="center">`ajel` and `sjel` are thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>
<p align="center">ajel is a set of thin wrappers for try-catch, coupled with eslint rules to encourage better error handling.</p>

<p align="center">
<a href="https://www.npmjs.com/ajel" target="_blank"><img src="https://img.shields.io/npm/v/ajel.svg" alt="NPM Version" /></a>
Expand Down

0 comments on commit e1bef90

Please sign in to comment.