# levion-fetch

> Levion HTTPS Requester

Latest version **0.2.0** (published 2021-05-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install levion-fetch
pnpm add levion-fetch
yarn add levion-fetch
bun add levion-fetch
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2021-05-12 |
| First published | 2021-05-11 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ender Kuşçu |
| Maintainers | adebowale, freakthedev |
| Keywords | http, https, fetch, request |

## Links

- npm: https://www.npmjs.com/package/levion-fetch
- Repository: https://github.com/FreakDeveloper/levion-fetch
- Homepage: https://github.com/FreakDeveloper/levion-fetch#readme
- Issues: https://github.com/FreakDeveloper/levion-fetch/issues
- npm.io page: https://npm.io/package/levion-fetch

## Dependencies (1)

- [wait-sleep](https://npm.io/package/wait-sleep.md) ^2.0.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2021-05-12
- 0.1.0 — 2021-05-11

## README

<br> <br>
![img](https://cdn.discordapp.com/attachments/781157857391411230/841687229205970995/levion-fetch1.png)
<br> <br>
![module](https://nodei.co/npm/levion-fetch.png?downloads=true&downloadRank=true&stars=true)

## Latest Updates

    - 1 Added asynchronous request function
    - 2  Release
    - 3 Not Yet.

<br>

## How to use?

> Make a new request.

```js
const requester = require("levion-fetch");

const URL = "url"; // Request URL
requester.newRequest(URL, async (res) => {
  console.log(res);
});
```

> Make a new asynchronous request.

```js
const requester = require("levion-fetch");

const URL = "url"; // Request URL
async function request() {
  let res = await requester.newSyncRequest(URL);
  console.log(res);
}
```

> Use Events

- Events
  - onRequest: Emitted when a new request sent.

```js
const requester = require("levion-fetch");

requester.on("event", async (data) => {
  console.log(data);
});
```

---
_Source: https://npm.io/package/levion-fetch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
