文件操作 - ping.js
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/lib/utils/ping.js
编辑文件内容
// ping the npm registry // used by the ping and doctor commands const fetch = require('npm-registry-fetch') module.exports = async (flatOptions) => { const res = await fetch('/-/ping?write=true', flatOptions) return res.json().catch(() => ({})) }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件