nan
nan copied to clipboard
Native Abstractions for Node.js
Hey, I had trouble trying to figure out why running ``` npx electron-rebuild canvas ``` Failed with the following error on Windows 10 x64: ``` Canvas.obj : error LNK2001: unresolved...
The initial statement can be somewhat misleading because the class will take care of running in the correct async context only if the callbacks are not overriden.
This PR aims to improve the existing Async Workers using C++17 features For the time being, only AsyncProgressQueueWorker was improved. The improvements include - Memory management using smart pointers (i.e....
This PR adds `Nan::New(std::string_view)`, which makes it easier to handle compile time known strings. In order to maintan backwards compatibility to C++11, a `NAN_HAS_CPLUSPLUS_17` macro is added (which will also...
Might not be the best example, but this took a lot longer than I had hoped to figure out for myself. Hope sharing it is helpful. If this isn't the...
Addressing this: #600 With the old method to get the current directory of 'nan' module, the path isn't got properly when the parent path is in a shared resource: `vboxsrv\vagrant\NODE_MODULES\nan`...
CI: https://travis-ci.org/nodejs/nan/builds/138059729
Save the users a Google search and tell them what compiler version they need. See: https://github.com/nodejs/nan/issues/448
This is found in newer versions of V8. Needs checking that no leaks were introduced.