Skip to content

Commit baf38c7

Browse files
committed
docs(readme): updated README.md
1 parent 14e67ad commit baf38c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
<div align="center">
2+
13
# Fanos 🏮
24

5+
![npm version](https://img.shields.io/npm/v/fanos.svg)
6+
![Total Downloads](https://img.shields.io/npm/dt/fanos.svg)
7+
![License](https://img.shields.io/npm/l/fanos.svg)
8+
9+
</div>
310
**Fanos** is a lightweight JavaScript `promise-based` library that simplifies sending asynchronous requests using the [Beacon API](https://w3c.github.io/beacon/). It ensures reliable, non-blocking transmission of data to a server, making it ideal for scenarios like analytics, logging, and tracking user interactions. However, it does **but not guaranteed if the browser is closed suddenly**.
411

512
To improve reliability, **Fanos** includes an **optional fallback mechanism using `Fetch`** and supports **automatic retrying of failed requests**. This ensures that your data is transmitted reliably, even in challenging network conditions.

0 commit comments

Comments
 (0)