{
  "_args": [
    [
      {
        "raw": "can-link@^1.0.1",
        "scope": null,
        "escapedName": "can-link",
        "name": "can-link",
        "rawSpec": "^1.0.1",
        "spec": ">=1.0.1 <2.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/store-path"
    ]
  ],
  "_from": "can-link@>=1.0.1 <2.0.0",
  "_id": "can-link@1.0.2",
  "_inCache": true,
  "_location": "/can-link",
  "_nodeVersion": "9.6.1",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/can-link_1.0.2_1519509071389_0.032260905024384945"
  },
  "_npmUser": {
    "name": "zkochan",
    "email": "z@kochan.io"
  },
  "_npmVersion": "5.6.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "can-link@^1.0.1",
    "scope": null,
    "escapedName": "can-link",
    "name": "can-link",
    "rawSpec": "^1.0.1",
    "spec": ">=1.0.1 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/@pnpm/store-path",
    "/root-link-target"
  ],
  "_resolved": "https://registry.npmjs.org/can-link/-/can-link-1.0.2.tgz",
  "_shasum": "c44cea1719c0098c4a72bb850a01d3334d07deef",
  "_shrinkwrap": null,
  "_spec": "can-link@^1.0.1",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/store-path",
  "author": {
    "name": "Zoltan Kochan",
    "email": "z@kochan.io",
    "url": "https://www.kochan.io/"
  },
  "bugs": {
    "url": "https://github.com/zkochan/can-link/issues"
  },
  "dependencies": {
    "graceful-fs": "^4.1.11"
  },
  "description": "Returns true if a link can be created",
  "devDependencies": {
    "mos": "^2.0.0-alpha.3",
    "mos-plugin-readme": "^1.0.4",
    "package-preview": "^1.0.5",
    "standard": "^11.0.0",
    "tape": "^4.8.0"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-2zyqEs49pyv+Ne1rUsOYWo5kgaMJ62ztHV2agWHdkYSOcNLohOGB4rY8xjjCKnByWeBnOOvjBRAPdG+7LKUpcA==",
    "shasum": "c44cea1719c0098c4a72bb850a01d3334d07deef",
    "tarball": "https://registry.npmjs.org/can-link/-/can-link-1.0.2.tgz",
    "fileCount": 5,
    "unpackedSize": 4029
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js",
    "index.d.ts"
  ],
  "gitHead": "97a45e01f1baafd071c8cfe4acca586c645f6a8b",
  "homepage": "https://github.com/zkochan/can-link#readme",
  "keywords": [
    "link",
    "hardlink"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "zkochan",
      "email": "z@kochan.io"
    }
  ],
  "mos": {
    "plugins": [
      "readme"
    ],
    "installation": {
      "useShortAlias": true
    }
  },
  "name": "can-link",
  "optionalDependencies": {},
  "readme": "# can-link\n\n> Returns true if a link can be created\n\n<!--@shields('npm', 'travis')-->\n[![npm version](https://img.shields.io/npm/v/can-link.svg)](https://www.npmjs.com/package/can-link) [![Build Status](https://img.shields.io/travis/zkochan/can-link/master.svg)](https://travis-ci.org/zkochan/can-link)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S can-link\n```\n\n## Usage\n\n```js\nconst canLink = require('can-link')\n\ncanLink.sync('C:\\\\foo.txt', 'D:\\\\foo.txt')\n//> false\n\ncanLink.sync('C:\\\\foo.txt', 'C:\\\\dir\\\\foo.txt')\n//> true\n```\n\n## API\n\n### `canLink.sync(existingPath, newPath): Boolean`\n\nReturns `true` if `fs.linkSync(existingPath, newPath)` is able to create a link.\n\n### `canLink(existingPath, newPath): Promise<Boolean>`\n\nReturns `true` if `fs.link(existingPath, newPath)` is able to create a link.\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zkochan/can-link.git"
  },
  "scripts": {
    "md": "mos",
    "test": "standard && mos t && preview && node test"
  },
  "typings": "index.d.ts",
  "version": "1.0.2"
}
