node-windows-service:作为本机Windows服务运行Node.JS程序

时间:2021-05-08 09:53:34
【文件属性】:
文件名称:node-windows-service:作为本机Windows服务运行Node.JS程序
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-08 09:53:34
C++ Windows服务 注意不推荐使用此模块,而推荐使用模块,请改用该模块。 这两个模块的不同之处在于add()和remove()函数需要回调。 该模块实现了将基于JavaScript程序作为本机Windows服务运行的能力。 该模块是使用: # This module contains C++ source code which will be compiled # during installation using node-gyp. A suitable build chain # must be configured before installation. npm install windows-service 它是使用require()函数加载的: var service = require ("windows-service"); 然后可以添加,删除程序并将其作为Win
【文件预览】:
node-windows-service-master
----example()
--------periodic-logger.js(1009B)
----index.js(2KB)
----package.json(602B)
----src()
--------service.h(978B)
--------pthread.cc(1KB)
--------pthread.h(762B)
--------service.cc(8KB)
----.npmignore(47B)
----.gitignore(33B)
----README.md(12KB)
----binding.gyp(253B)

网友评论