哥伦布

-1°

随笔分类 -  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历史版本查阅 阅读全文
posted @ 2022-12-17 13:22 南柯Dream丶 阅读(352) 评论(0) 推荐(0) 编辑
摘要:服务端渲染 /* * @Description:express路由表 * @Author: NanKe * @Date: 2021-11-08 16:07:49 * @LastEditTime: 2021-11-12 12:26:42 * @LastEditors: NanKe * @Cnblogs 阅读全文
posted @ 2021-11-12 13:45 南柯Dream丶 阅读(115) 评论(0) 推荐(0) 编辑
摘要:/* * @Description:express基础 * @Author: NanKe * @Date: 2021-11-07 18:12:15 * @LastEditTime: 2021-11-08 20:39:37 * @LastEditors: NanKe * @Cnblogs: https 阅读全文
posted @ 2021-11-08 20:49 南柯Dream丶 阅读(128) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: 静态资源目录搭建-index.js * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-04 14:26:33 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11 阅读全文
posted @ 2021-11-04 19:25 南柯Dream丶 阅读(255) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: 路由基础 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-03 18:29:16 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-03 18:52:48 阅读全文
posted @ 2021-11-03 20:10 南柯Dream丶 阅读(79) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: fs文件夹操作 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 20:46:05 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-02 20:54: 阅读全文
posted @ 2021-11-02 23:00 南柯Dream丶 阅读(255) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 20:24:28 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-02 20:30:03 */ 阅读全文
posted @ 2021-11-02 20:45 南柯Dream丶 阅读(35) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: 使用cheerio抓取网页数据 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-02 18:59:35 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-0 阅读全文
posted @ 2021-11-02 19:40 南柯Dream丶 阅读(222) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: proxy-模拟正向代理 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-11-01 12:18:22 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-01 1 阅读全文
posted @ 2021-11-01 20:40 南柯Dream丶 阅读(342) 评论(0) 推荐(0) 编辑
摘要:<!-- * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 23:54:24 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-11-01 00:58:24 阅读全文
posted @ 2021-11-01 01:00 南柯Dream丶 阅读(63) 评论(0) 推荐(0) 编辑
摘要:<!-- * @Description: index.html * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 23:19:43 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 2 阅读全文
posted @ 2021-10-31 23:39 南柯Dream丶 阅读(35) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: get和post总结 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 14:02:45 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 14: 阅读全文
posted @ 2021-10-31 14:20 南柯Dream丶 阅读(97) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: post * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 13:42:53 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 13:53:29 阅读全文
posted @ 2021-10-31 13:59 南柯Dream丶 阅读(141) 评论(0) 推荐(0) 编辑
摘要:/* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * @Date: 2021-10-31 13:35:25 * @LastEditors: Nanke_南柯 * @LastEditTime: 2021-10-31 22:43:54 */ 阅读全文
posted @ 2021-10-31 13:57 南柯Dream丶 阅读(77) 评论(0) 推荐(0) 编辑
摘要:安装:npm install -g hotnode 运行:hotnode xxx.js 不过这东西在我电脑运行有报错 问题所在地址:C:\Users\NanKe\AppData\Roaming\npm\node_modules\hotnode\javascript\hotloader.js 进入编辑 阅读全文
posted @ 2021-10-30 21:54 南柯Dream丶 阅读(148) 评论(0) 推荐(0) 编辑
摘要:在根目录下npm install --save-dev @types/node 阅读全文
posted @ 2021-10-29 09:38 南柯Dream丶 阅读(156) 评论(0) 推荐(0) 编辑
摘要:在nodejs项目中,遇到要向某一个邮箱发送邮件时可使用nodemailer,可支持QQ,163,126,Yahoo等等 安装:npm install nodemailer --S /* * @Description: 描述 * @Version: 1.0 * @Autor: Nanke_南柯 * 阅读全文
posted @ 2021-10-15 12:37 南柯Dream丶 阅读(35) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示