随笔分类 -  node

摘要:Reference: https://www.npmjs.com/package/node schedule 阅读全文
posted @ 2018-11-27 17:47 cyany_blue 阅读(585) 评论(0) 推荐(0)
摘要:create docx Reference: https://stackoverflow.com/questions/17450412/how to create an excel file with nodejs https://github.com/Ziv Barber/officegen/bl 阅读全文
posted @ 2018-11-27 10:48 cyany_blue 阅读(212) 评论(0) 推荐(0)
摘要:Reference: https://www.npmjs.com/package/adm zip zip: unzip: 阅读全文
posted @ 2018-11-26 19:31 cyany_blue 阅读(356) 评论(0) 推荐(0)
摘要:Reference: https://www.npmjs.com/package/request 阅读全文
posted @ 2018-11-26 17:16 cyany_blue 阅读(128) 评论(0) 推荐(0)
摘要:question: Reference: https://stackoverflow.com/questions/31473292/etimedout connect error using nodemailer in nodejs openshift application http://masa 阅读全文
posted @ 2018-11-17 14:15 cyany_blue 阅读(184) 评论(0) 推荐(0)
摘要:First Reference: https://www.npmjs.com/package/express session 阅读全文
posted @ 2018-11-16 12:05 cyany_blue 阅读(1217) 评论(0) 推荐(0)
摘要:First,install cookie parser middleware and then next you can set siged(签名) use encrypted you can get value clear cookie Reference: https://github.com/ 阅读全文
posted @ 2018-11-16 10:35 cyany_blue 阅读(258) 评论(0) 推荐(0)
摘要:https://github.com/expressjs/multer/ you can upload file with multer middleware and then use multer for one image for multiple image for no file Quest 阅读全文
posted @ 2018-11-14 16:51 cyany_blue 阅读(261) 评论(0) 推荐(0)
摘要:update name as a to newA,but update one record update all when save() has _id paramter ,as same as update,otherwise,as insert() delete all delete one 阅读全文
posted @ 2018-11-14 09:02 cyany_blue 阅读(196) 评论(0) 推荐(0)
摘要:new a database show database show current database delete a database create a collection show all collections delete collection insert data,the parame 阅读全文
posted @ 2018-11-12 16:57 cyany_blue 阅读(182) 评论(0) 推荐(0)
摘要:1.安装node 去官网下载对应版本的node安装包 2.创建httpserver node优点: node基于chromeV8引擎 单线程 使用js开发后端代码 非阻塞的io Common规范 一个文件代表一个模块 使用require 创建server // 引入http模块 let http = 阅读全文
posted @ 2018-06-23 23:58 cyany_blue 阅读(1567) 评论(0) 推荐(0)