UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

104 lines (103 loc) 3.89 kB
{ "_args": [ [ { "raw": "touch@^3.1.0", "scope": null, "escapedName": "touch", "name": "touch", "rawSpec": "^3.1.0", "spec": ">=3.1.0 <4.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/store-path" ] ], "_from": "touch@>=3.1.0 <4.0.0", "_id": "touch@3.1.0", "_inCache": true, "_location": "/touch", "_nodeVersion": "8.0.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/touch-3.1.0.tgz_1498866039484_0.26272376789711416" }, "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "_npmVersion": "5.0.4", "_phantomChildren": { "abbrev": "1.1.1" }, "_requested": { "raw": "touch@^3.1.0", "scope": null, "escapedName": "touch", "name": "touch", "rawSpec": "^3.1.0", "spec": ">=3.1.0 <4.0.0", "type": "range" }, "_requiredBy": [ "/@pnpm/store-path" ], "_resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", "_shasum": "fe365f5f75ec9ed4e56825e0bb76d24ab74af83b", "_shrinkwrap": null, "_spec": "touch@^3.1.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/store-path", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "bin": { "nodetouch": "./bin/nodetouch.js" }, "bugs": { "url": "https://github.com/isaacs/node-touch/issues" }, "dependencies": { "nopt": "~1.0.10" }, "description": "like touch(1) in node", "devDependencies": { "mutate-fs": "^1.1.0", "tap": "^10.7.0" }, "directories": {}, "dist": { "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", "shasum": "fe365f5f75ec9ed4e56825e0bb76d24ab74af83b", "tarball": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz" }, "files": [ "index.js", "bin/nodetouch.js" ], "gitHead": "7706a0d249c72edd90adbeb37ec8d4ca2b9a9a7f", "homepage": "https://github.com/isaacs/node-touch#readme", "license": "ISC", "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "name": "touch", "optionalDependencies": {}, "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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/isaacs/node-touch.git" }, "scripts": { "postpublish": "git push origin --all; git push origin --tags", "postversion": "npm publish", "preversion": "npm test", "test": "tap test/*.js --100 -J" }, "version": "3.1.0" }