{"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"name":"touch","description":"like touch(1) in node","version":"2.0.0","repository":{"type":"git","url":"git://github.com/isaacs/node-touch.git"},"main":"touch.js","engines":{"node":">=0.6"},"bin":{"nodetouch":"./bin/touch.js"},"dependencies":{"nopt":"~1.0.10"},"license":"ISC","scripts":{"test":"tap test/*.js --lines=100","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"},"gitHead":"17e3ed142f107374735c79f4791d03bee3485a88","bugs":{"url":"https://github.com/isaacs/node-touch/issues"},"homepage":"https://github.com/isaacs/node-touch#readme","_id":"touch@2.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"integrity":"sha512-7La7NUl/nljZ5NB/BzVG15D69PIMwiiAirRmAgyAtPe4bKP/C2qG/7xqA4xn9QZFJ98teYAWw/GQLwU7PODCfQ==","shasum":"056ee6a54f784ee3e956d002f69e8ae603e5c753","tarball":"http://registry-npm.ywwl.com/touch/download/touch-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqgMfTxi2K/cg83zII1byGrmkTKNbplXj7gIMtMgHZyAIgYs1ZWaj4RoTApZ/Lm3TK/LfGzNsj2vNrgnf0qDvknLE="}],"size":4103,"noattachment":false,"key":"/touch/-/touch-2.0.0.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-2.0.0.tgz_1498584180321_0.8908176447730511"},"directories":{},"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":1498584180394,"_cnpm_publish_time":1498584180394,"dist-tags":{"latest":"3.1.1"}}