• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

jwang106


脚踏实地,日拱一卒。 建立新的神经链接,可不像公园散步那样简单。
  • 博客园
  • 联系
  • 管理

随笔分类 -  技术 - nodejs

node js 操作redis promise
摘要:连接 基础操作 Native Promises If you are using node v8 or higher, you can promisify node_redis with util.promisify as in: now getAsync is a promisified vers 阅读全文

posted @ 2019-08-15 18:53 jwang106 阅读(1332) 评论(0) 推荐(0)

nodejs 内存泄漏
摘要:This looks OK at first glance. We could think that theThing get’s overwritten with every invocation of replaceThing(). The problem is that someMethod 阅读全文

posted @ 2019-07-30 11:08 jwang106 阅读(200) 评论(0) 推荐(0)

npm install 超时 国内 切换源; npm ERR! code ELIFECYCLE;
摘要:install 超时 查看npm源地址 设置阿里云镜像 如果不能解决 重新运行npm命令,解决 npm ERR! code ELIFECYCLE node_modules的问题,重新安装 另一种设置镜像的方法 阅读全文

posted @ 2019-07-27 16:34 jwang106 阅读(1647) 评论(0) 推荐(0)

安装nodejs nvm
摘要:安装nodejs 安装nvm https://www.runoob.com/w3cnote/nvm manager node versions.html 阅读全文

posted @ 2019-07-26 13:43 jwang106 阅读(108) 评论(0) 推荐(0)

nodejs moment 修改时间格式 日期格式与时间戳格式互相转化
摘要:node js moment 修改时间格式 日期格式与int格式互相转化 不使用moment 使用Date 需要注意两点: 第一,这里的str是按当地时间(localTime)计算的, 以中国为例,此处str表示北京时间(第8时区)2017年1月19日13时,亦即表示格林威治时间(第0时区)2017 阅读全文

posted @ 2019-07-17 18:00 jwang106 阅读(7313) 评论(0) 推荐(0)

 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3