Skip to content

issues Search Results · repo:nodejs/abi-stable-node-addon-examples language:C++

Filter by

8 results
 (83 ms)

8 results

innodejs/abi-stable-node-addon-examples (press backspace or delete to remove)

Hi, I have problem figuring out, how to pass buffer from process Buffer argument in node-api-addon into Napi:Buffer uint8_T . This is old non-napi snippet: Local Object data = args[0]- ToObject(); ...
  • cryi
  • 1
  • Opened 
    on Jul 8, 2018
  • #31

Would it be possible to bring the node-addon-api Object::Wrap example, up-to-date with respective napi example, adding destructor and New methods?
  • bsrdjan
  • 1
  • Opened 
    on Apr 25, 2018
  • #22

When I tried the example of 1_hello_world\node-api, I first run npm install, and then it gave me the following errors. I also looked the https://www.npmjs.com/package/node-api, but it seems not this package. ...
  • liudonghua123
  • 3
  • Opened 
    on Apr 25, 2018
  • #21

Hello guys! Why does every example use asserts instead of if checks maybe some exceptions? Wouldn t it be better to just throw errors so the js code has the opportunity to recover from possible errors ...
  • DeusProx
  • 2
  • Opened 
    on Apr 15, 2018
  • #19

Curent examples cover cases only with 1 properties get created inside Init. Is any chance to give examples how to create multiple properties? next approach is incorrect - it s overwrite exports napi_value ...
  • khvalov
  • 8
  • Opened 
    on Mar 29, 2018
  • #18

Hi, I ve been toying with these examples for sometime (as my introduction to node.js from c++ side) and noticed something peculiar that I m not sure is the expected behavior. In Example 6 (N-API), I ...
  • hokiedsp
  • 13
  • Opened 
    on Mar 22, 2018
  • #17

There in .js file must be simply require without ( addon ). Segmentation fault.
  • Globik
  • 3
  • Opened 
    on Dec 25, 2017
  • #14

When running my N-API code I get this warning (node:21984) Warning: N-API is an experimental feature and could change at any time. This is a nuisance. Can we have an API call to disable the warning message ...
  • billc3012
  • 13
  • Opened 
    on Dec 1, 2017
  • #12
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub