{"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"name":"touch","description":"like touch(1) in node","version":"3.1.1","repository":{"type":"git","url":"git://github.com/isaacs/node-touch.git"},"bin":{"nodetouch":"bin/nodetouch.js"},"license":"ISC","scripts":{"test":"tap test/*.js --100 -J","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"devDependencies":{"mutate-fs":"^1.1.0","tap":"^10.7.0"},"_id":"touch@3.1.1","gitHead":"cb0ad3931175ce5bd27cf4622e13d9f3f4beb5cd","bugs":{"url":"https://github.com/isaacs/node-touch/issues"},"homepage":"https://github.com/isaacs/node-touch#readme","_nodeVersion":"20.11.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==","shasum":"097a23d7b161476435e5c1344a95c0f75b4a5694","tarball":"http://registry-npm.ywwl.com/touch/download/touch-3.1.1.tgz","fileCount":5,"unpackedSize":10163,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGiTzClJn5tOiX+aWcwL6DK6K7VukyQ2qHqiCBG5cIHzAiEA1kJE5w40jOmL3ezWwSPQPuyqbNyf1kk6BNUDcmbIAew="}],"size":3769,"noattachment":false,"key":"/touch/-/touch-3.1.1.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch_3.1.1_1715700171299_0.13362097320585575"},"_hasShrinkwrap":false,"readme":"# node-touch\n\nFor all your node touching needs.\n\n## Installing\n\n```bash\nnpm install touch\n```\n\n## CLI Usage:\n\nSee `man touch`\n\nThis package exports a binary called `nodetouch` that works mostly\nlike the unix builtin `touch(1)`.\n\n## API Usage:\n\n```javascript\nvar touch = require(\"touch\")\n```\n\nGives you the following functions:\n\n* `touch(filename, options, cb)`\n* `touch.sync(filename, options)`\n* `touch.ftouch(fd, options, cb)`\n* `touch.ftouchSync(fd, options)`\n\nAll the `options` objects are optional.\n\nAll the async functions return a Promise.  If a callback function is\nprovided, then it's attached to the Promise.\n\n## Options\n\n* `force` like `touch -f` Boolean\n* `time` like `touch -t <date>` Can be a Date object, or any parseable\n  Date string, or epoch ms number.\n* `atime` like `touch -a` Can be either a Boolean, or a Date.\n* `mtime` like `touch -m` Can be either a Boolean, or a Date.\n* `ref` like `touch -r <file>` Must be path to a file.\n* `nocreate` like `touch -c` Boolean\n\nIf neither `atime` nor `mtime` are set, then both values are set.  If\none of them is set, then the other is not.\n\n## cli\n\nThis package creates a `nodetouch` command line executable that works\nvery much like the unix builtin `touch(1)`\n","publish_time":1715700171464,"_cnpm_publish_time":1715700171464,"dist-tags":{"latest":"3.1.1"}}