Avatar notebook default
44篇文章 · 29870字 · 1人关注
  • Node REPL

    REPL(Read Eval Print Loop,交互式解释器)是一个处理 Node.js 表达式的交互式 shell,类似 Window 系...

  • Node.js 读取环境变量

    什么是环境变量? 在软件开发中,“环境”是程序或进程运行的环境。 环境变量[https://en.wikipedia.org/wiki/Envi...

    1.9 1573 0 12
  • 在 Node 中使用 execa 运行命令

    Node.js 有一个内置 child_process[https://nodejs.cn/api/child_process.html] 模块...

  • 创建 GUID/UUID

    根据 RFC 4122[https://www.ietf.org/rfc/rfc4122.txt],UUID(通用唯一标识符)也称为 GUID(...

  • Node.js HTTP 和 HTTPS 模块

    http 模块[http://nodejs.cn/api/http.html#http]提供了一种让 Node.js 通过 HTTP(超文本传输...

  • 使用 fs 模块的推荐方法

    在编写使用 fs 模块的 Node.js 脚本时,我通常使用 util.promisify 方法来保证文件系统方法。基于 Promise 的方法...

  • 如何在 Node.js 中控制没有依赖项的日志消息

    数以百万计的项目包依赖于非常流行的 debug[https://www.npmjs.com/package/debug] 包。提供的 debug...

  • Node.js Net 模块

    net 模块[http://nodejs.cn/api/net.html#net]提供了一种创建 TCP 服务器和 TCP 客户端的方法。它是 ...

  • Node.js OS 模块

    OS 模块[http://nodejs.cn/api/os.html]提供有关计算机操作系统的信息。 获取有关计算机操作系统的信息: os.pl...

文集作者