{"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"name":"touch","description":"like touch(1) in node","version":"0.0.1","repository":{"type":"git","url":"git://github.com/isaacs/node-touch.git"},"main":"touch.js","engines":{"node":"~0.5.8 || 0.6"},"dependencies":{"nopt":"~1.0.10"},"devDependencies":{},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"_id":"touch@0.0.1","_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.5.9-pre","_defaultsLoaded":true,"dist":{"shasum":"c58742ef5dedcf0a238b39cbcadaa0e0e404e1b6","tarball":"http://registry-npm.ywwl.com/touch/download/touch-0.0.1.tgz","integrity":"sha512-8RTPP+jH8W/ZIC1xL1fvdZVxR7te0PnLfKQhr0+NAD9kn3M73YywvUJIYodyW6EEii0jt4EuIzRDVKnqZnaueg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzfPJXOIFl6UMXv+a/zQ2o/SQs50fBg12kB9CzNqyBHQIhANzv7vufE7iiKzz7K1ybXg71SXn/wMLMs61Y5bOvdixu"}],"size":10240,"noattachment":false,"key":"/touch/-/touch-0.0.1.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":1317852805389,"_cnpm_publish_time":1317852805389,"dist-tags":{"latest":"3.1.1"}}