Socket
Socket
Sign inDemoInstall

get-uv-event-loop-napi-h

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    get-uv-event-loop-napi-h

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


Version published
Weekly downloads
94K
decreased by-7.82%
Maintainers
1
Install size
18.2 kB
Created
Weekly downloads
 

Readme

Source

get-uv-event-loop-napi-h

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

Greenkeeper badge

NPM Version NPM Downloads Build Status Coverage Status Dependency Status

Installation

Install with npm:

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

Usage

In your binding.gyp:

    '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:

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

uv_loop_t* loop = get_uv_event_loop(env);

Keywords

FAQs

Last updated on 24 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc