摘要: 参考:https://nodejs.org/docs/latest-v14.x/api/synopsis.html 新建hello-world.js const http = require('http'); const hostname = '127.0.0.1'; const port = 30 阅读全文
posted @ 2022-09-06 18:33 jqynr 阅读(22) 评论(0) 推荐(0)
摘要: 文档:https://nodejs.org/docs/latest-v14.x/api/documentation.html 导航: assertion 定义>buffer 缓冲区C++ addons c++插件C/C++ addons with Node-API 带有nodeapi的c++插件C+ 阅读全文
posted @ 2022-09-06 18:22 jqynr 阅读(28) 评论(0) 推荐(0)
摘要: 1,注册一个npm账号2,生成一个package.json文件npm init 或者 npm init --yesname: 必须是小写字母和一个单词,可以使用连接符和下划线version: 字段的格式必须为x.x.x,并遵循语义版本控制准则。author: 可以使用有效或者网址 Your Name 阅读全文
posted @ 2022-09-06 09:38 jqynr 阅读(24) 评论(0) 推荐(0)