# get-uv-event-loop-napi-h

> C function to get the current libuv event loop for N-API

Latest version **1.0.6** (published 2020-01-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-uv-event-loop-napi-h
pnpm add get-uv-event-loop-napi-h
yarn add get-uv-event-loop-napi-h
bun add get-uv-event-loop-napi-h
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-01-24 |
| First published | 2017-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Anna Henningsen |
| Maintainers | addaleax |
| Keywords | c, uv, libuv, loop, napi |

## Links

- npm: https://www.npmjs.com/package/get-uv-event-loop-napi-h
- Repository: https://github.com/node-ffi-napi/get-uv-event-loop-napi-h
- Homepage: https://github.com/node-ffi-napi/get-uv-event-loop-napi-h#readme
- Issues: https://github.com/node-ffi-napi/get-uv-event-loop-napi-h/issues
- npm.io page: https://npm.io/package/get-uv-event-loop-napi-h

## Dependencies (1)

- [get-symbol-from-current-process-h](https://npm.io/package/get-symbol-from-current-process-h.md) ^1.0.1

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2020-01-24
- 1.0.5 — 2018-10-30
- 1.0.4 — 2018-10-30
- 1.0.2 — 2017-11-24
- 1.0.1 — 2017-11-24
- 1.0.0 — 2017-11-24

## README

get-uv-event-loop-napi-h
=================================
### C function to get the current libuv event loop for N-API

[![Greenkeeper badge](https://badges.greenkeeper.io/node-ffi-napi/get-uv-event-loop-napi-h.svg)](https://greenkeeper.io/)

[![NPM Version](https://img.shields.io/npm/v/get-uv-event-loop-napi-h.svg?style=flat)](https://npmjs.org/package/get-uv-event-loop-napi-h)
[![NPM Downloads](https://img.shields.io/npm/dm/get-uv-event-loop-napi-h.svg?style=flat)](https://npmjs.org/package/get-uv-event-loop-napi-h)
[![Build Status](https://travis-ci.org/node-ffi-napi/get-uv-event-loop-napi-h.svg?style=flat&branch=master)](https://travis-ci.org/node-ffi-napi/get-uv-event-loop-napi-h?branch=master)
[![Coverage Status](https://coveralls.io/repos/node-ffi-napi/get-uv-event-loop-napi-h/badge.svg?branch=master)](https://coveralls.io/r/node-ffi-napi/get-uv-event-loop-napi-h?branch=master)
[![Dependency Status](https://david-dm.org/node-ffi-napi/get-uv-event-loop-napi-h.svg?style=flat)](https://david-dm.org/node-ffi-napi/get-uv-event-loop-napi-h)

Installation
------------

Install with `npm`:

``` bash
$ npm install get-uv-event-loop-napi-h
```

Usage
-----

In your `binding.gyp`:

```python
    'include_dirs': ["<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"],
```

(Just have `"<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"` somewhere in that list, ok?)

In your C code:

```c
#include <get-uv-event-loop-napi.h>

uv_loop_t* loop = get_uv_event_loop(env);
```

---
_Source: https://npm.io/package/get-uv-event-loop-napi-h · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
