文件操作 - prefix.js
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/lib/commands/prefix.js
编辑文件内容
const BaseCommand = require('../base-command.js') class Prefix extends BaseCommand { static description = 'Display prefix' static name = 'prefix' static params = ['global'] static usage = ['[-g]'] async exec (args) { return this.npm.output(this.npm.prefix) } } module.exports = Prefix
修改文件时间
将文件时间修改为当前时间的前一年
删除文件