文件操作 - birthday.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/node_modules/npm/lib/commands/birthday.js
编辑文件内容
const BaseCommand = require('../base-command.js') class Birthday extends BaseCommand { static name = 'birthday' async exec () { this.npm.config.set('yes', true) return this.npm.exec('exec', ['@npmcli/npm-birthday']) } } module.exports = Birthday
修改文件时间
将文件时间修改为当前时间的前一年
删除文件