{"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"name":"touch","description":"like touch(1) in node","version":"1.0.0","repository":{"type":"git","url":"git://github.com/isaacs/node-touch.git"},"main":"touch.js","engines":{"node":">=0.6"},"bin":{"touch":"./bin/touch.js"},"dependencies":{"nopt":"~1.0.10"},"license":"ISC","scripts":{"test":"tap test/*.js"},"devDependencies":{"tap":"^1.3.1"},"gitHead":"f73938c01bd10fe70fae5af3f37fc8c6162e9852","bugs":{"url":"https://github.com/isaacs/node-touch/issues"},"homepage":"https://github.com/isaacs/node-touch#readme","_id":"touch@1.0.0","_shasum":"449cbe2dbae5a8c8038e30d71fa0ff464947c4de","_from":".","_npmVersion":"3.1.0","_nodeVersion":"2.2.1","_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"dist":{"shasum":"449cbe2dbae5a8c8038e30d71fa0ff464947c4de","tarball":"http://registry-npm.ywwl.com/touch/download/touch-1.0.0.tgz","integrity":"sha512-7PLLVW4cfMVYXtMgX0ynJvyZDiupF2rzGzzf0yATTzgCgNK98DHjRSTm5zU1bFUtRjFdXNrEynn9+vhflVpC0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZ++JeX9/pJekYMjVq9r3vWnNIbgYwj943kBqntxNVmAiBPyCiXOBHIa3ob/wAdnreToMFgnNIpMdOcpJdTGcN9gQ=="}],"size":3695,"noattachment":false,"key":"/touch/-/touch-1.0.0.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"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":1437093520004,"_cnpm_publish_time":1437093520004,"dist-tags":{"latest":"3.1.1"}}