随笔分类 - Node.js
摘要:pkg方式安装的卸载: sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*} homebrew安装方式的卸载: brew uninstall nodejs node历史版本查阅
阅读全文
摘要:服务端渲染 /* * @Description:express路由表 * @Author: NanKe * @Date: 2021-11-08 16:07:49 * @LastEditTime: 2021-11-12 12:26:42 * @LastEditors: NanKe * @Cnblogs
阅读全文
摘要:/* * @Description:express基础 * @Author: NanKe * @Date: 2021-11-07 18:12:15 * @LastEditTime: 2021-11-08 20:39:37 * @LastEditors: NanKe * @Cnblogs: https
阅读全文
摘要:/* * @Description: 静态资源目录搭建-index.js * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-04 14:26:33 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11
阅读全文
摘要:/* * @Description: 路由基础 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-03 18:29:16 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-03 18:52:48
阅读全文
摘要:/* * @Description: fs文件夹操作 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 20:46:05 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-02 20:54:
阅读全文
摘要:/* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 20:24:28 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-02 20:30:03 */
阅读全文
摘要:/* * @Description: 使用cheerio抓取网页数据 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 18:59:35 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-0
阅读全文
摘要:/* * @Description: proxy-模拟正向代理 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-01 12:18:22 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-01 1
阅读全文
摘要:<!-- * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 23:54:24 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-01 00:58:24
阅读全文
摘要:<!-- * @Description: index.html * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 23:19:43 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 2
阅读全文
摘要:/* * @Description: get和post总结 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 14:02:45 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 14:
阅读全文
摘要:/* * @Description: post * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 13:42:53 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 13:53:29
阅读全文
摘要:/* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 13:35:25 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 22:43:54 */
阅读全文
摘要:安装:npm install -g hotnode 运行:hotnode xxx.js 不过这东西在我电脑运行有报错 问题所在地址:C:\Users\NanKe\AppData\Roaming\npm\node_modules\hotnode\javascript\hotloader.js 进入编辑
阅读全文
摘要:在根目录下npm install --save-dev @types/node
阅读全文
摘要:在nodejs项目中,遇到要向某一个邮箱发送邮件时可使用nodemailer,可支持QQ,163,126,Yahoo等等 安装:npm install nodemailer --S /* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 *
阅读全文