.NODE 文件扩展名

Node.js Binary Addon File

开发者 不适用
受欢迎程度
3.6  |  10 
 

什么是 NODE 文件?

A NODE file contains an addon, which is a compiled library of functions used by one or more Node.js applications. It stores binary data compiled from a GYP file written in the C++ programming language. NODE files are similar to .MJS modules in that they allow web and application developers to organize code into smaller reusable components.

更多信息

Web and app developers utilize NODE files to create addons for Node.js applications. These addons allow Node.js applications to link to libraries that provide functionality. A reusable addon project typically consists of a package.json file, a binding.gyp file, and C++ source code, whereas non-reusable modules don't need the package.json file.

To create NODE files, the developers first install the "node-gyp" utility bundled with Node.js using the following command:

npm install -g node-gyp

Then, the developers create binding.gyp files that describe the build configuration of the Node.js module. They then use the node-gyp configure command to create the proper build files and utilize the node-gyp build command to create the addon.node file.

注: To load an addon as a Node.js module, use the require() function.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 NODE 文件的程序

Windows
免费
Mac
免费
Linux
免费
分类: 网页
更新时间: 2020-06-15

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Node.js Binary Addon 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们