Node.js
利用 Git 实现文件同步
想使用一个 lightweight、free 的文件同步软件,浅找了一下都比较重,突然想到 Git,它原生支持多人分布式协作,并且都有 Git 服务器。 大概的原理是,监听本地目录下子文件和子目录的变化,在变化后自动 Commit,repo 接收到 Commit 后,会触发…
npm/yarn: 安装包时抛错 Node-gyp ERR
Copy gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version…
Node.js: v18.x 快速集成 TypeScript + ESM + Strictest
mkdir tests && cd tests yarn init -y
yarn global add typescript ts-node
yarn add -D @tsconfig/node18-strictest-esm typescript ts-node tslib…