Skip to content

Node.js API cleanup ideas for feedback #9766

Closed
@brody4hire

Description

@brody4hire
  • Version: 6.9.1/7.2.0/general
  • Platform: UNIX/general
  • Subsystem: src (general)

Considering that the node.h header is exported for both addons and embedders I see a few things that could be improved:

Will discuss the remaining ideas elsewhere (related to nodejs/api#31):

  • Break node.h into the smaller parts such as:
    • API for addons
    • external API for embedder(s)
    • type definitions

Other ideas:

  • Keep the definition of node_module internal
  • C API for Node embedders

I would be happy to submit PRs for whatever ideas may be desired by the community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions