文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/strip-json-comments/package.json
编辑文件内容
{ "name": "strip-json-comments", "version": "4.0.0", "description": "Strip comments from JSON. Lets you use comments in your JSON files!", "license": "MIT", "repository": "sindresorhus/strip-json-comments", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": { "import": "./index.js", "require": "./index.cjs" }, "main": "./index.cjs", "module": "./index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "test": "xo && ava && tsd", "bench": "matcha benchmark.js" }, "files": [ "index.cjs", "index.js", "index.d.ts" ], "keywords": [ "json", "strip", "comments", "remove", "delete", "trim", "multiline", "parse", "config", "configuration", "settings", "util", "env", "environment", "jsonc" ], "devDependencies": { "ava": "^3.15.0", "matcha": "^0.7.0", "tsd": "^0.17.0", "xo": "^0.44.0" } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件