Skip to content

Using N-API but with Fixed Node module version #359

@mhdawson

Description

@mhdawson

In some cases module owners would like to us N-API even if they are using other internal APIs like libuv, openssl.

Today that would be unsafe because N-API bypasses the Node module version check and therefore you should only use N-API for "pure" modules.

We should an an option through Macros or some other solution so people can use N-API but also use those other modules safely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions