{
  "_id": "npm-cache-filename",
  "_rev": "53-b47ea6298986d5bdcc65f6863f50f27b",
  "maintainers": [
    {
      "email": "saquibkhan@github.com",
      "name": "saquibkhan"
    },
    {
      "email": "npm-cli+bot@github.com",
      "name": "npm-cli-ops"
    },
    {
      "email": "reggi@github.com",
      "name": "reggi"
    }
  ],
  "dist-tags": {
    "latest": "1.0.2"
  },
  "author": {
    "url": "http://blog.izs.me/",
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me"
  },
  "description": "Given a cache folder and url, return the appropriate cache folder.",
  "readme": "# npm-cache-filename\n\nGiven a cache folder and url, return the appropriate cache folder.\n\n## USAGE\n\n```javascript\nvar cf = require('npm-cache-filename');\nconsole.log(cf('/tmp/cache', 'https://registry.npmjs.org:1234/foo/bar'));\n// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar\n```\n\nAs a bonus, you can also bind it to a specific root path:\n\n```javascript\nvar cf = require('npm-cache-filename');\nvar getFile = cf('/tmp/cache');\n\nconsole.log(getFile('https://registry.npmjs.org:1234/foo/bar'));\n// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar\n```\n",
  "repository": {
    "url": "git://github.com/npm/npm-cache-filename.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/npm/npm-cache-filename/issues"
  },
  "license": "ISC",
  "versions": {
    "1.0.0": {
      "name": "npm-cache-filename",
      "version": "1.0.0",
      "author": {
        "url": "http://blog.izs.me/",
        "name": "Isaac Z. Schlueter",
        "email": "i@izs.me"
      },
      "license": "ISC",
      "_id": "npm-cache-filename@1.0.0",
      "maintainers": [
        {
          "name": "isaacs",
          "email": "i@izs.me"
        }
      ],
      "homepage": "https://github.com/npm/npm-cache-filename",
      "bugs": {
        "url": "https://github.com/npm/npm-cache-filename/issues"
      },
      "dist": {
        "shasum": "3eff71737d4308ef1cf876ceaafc51fa1e65485b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-cache-filename/-/npm-cache-filename-1.0.0.tgz",
        "integrity": "sha512-YV0jeVYxBueHgTUCQQS1DOKrlwiUohZvZ+0xjYVcw6q1c64LSZMMvqAe+4pKIJ/rVzOUH1MZiHjJXI4KFgYMHw==",
        "signatures": [
          {
            "sig": "MEYCIQDWp0baMd3eTgQrF85pATwSpRmzNma9atLv8JWF6VpSsgIhAJwiS/DLgp/5Fh8kzxMUFAcbrK7qrlNDvkqJls/Gls2l",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "3eff71737d4308ef1cf876ceaafc51fa1e65485b",
      "scripts": {
        "test": "tap test.js"
      },
      "_npmUser": {
        "name": "isaacs",
        "email": "i@izs.me"
      },
      "deprecated": "This package is no longer supported.",
      "repository": {
        "url": "git://github.com/npm/npm-cache-filename",
        "type": "git"
      },
      "_npmVersion": "1.4.10",
      "description": "Given a cache folder and url, return the appropriate cache folder.",
      "directories": {},
      "dependencies": {},
      "devDependencies": {
        "tap": "^0.4.10"
      }
    },
    "1.0.1": {
      "name": "npm-cache-filename",
      "version": "1.0.1",
      "author": {
        "url": "http://blog.izs.me/",
        "name": "Isaac Z. Schlueter",
        "email": "i@izs.me"
      },
      "license": "ISC",
      "_id": "npm-cache-filename@1.0.1",
      "maintainers": [
        {
          "name": "isaacs",
          "email": "i@izs.me"
        }
      ],
      "homepage": "https://github.com/npm/npm-cache-filename",
      "bugs": {
        "url": "https://github.com/npm/npm-cache-filename/issues"
      },
      "dist": {
        "shasum": "9b640f0c1a5ba1145659685372a9ff71f70c4323",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-cache-filename/-/npm-cache-filename-1.0.1.tgz",
        "integrity": "sha512-qhOdjtAhM5pEeFs8SqZZsBf5797gyxsZwOEdhzYMy+xKow5UsHTAWTUfjbcbl0blYh5EGNWfHNLWehLZ2ID7ng==",
        "signatures": [
          {
            "sig": "MEUCIB1mqyXWcwJ0NxcBEf+m0ISmHB8YrLv2aqCjK6tcnRcIAiEA3D0DI0dh5G33Wq6fN7oBxi4lZ6bpfMBKQ5OhEae3vLM=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "9b640f0c1a5ba1145659685372a9ff71f70c4323",
      "scripts": {
        "test": "tap test.js"
      },
      "_npmUser": {
        "name": "isaacs",
        "email": "i@izs.me"
      },
      "deprecated": "This package is no longer supported.",
      "repository": {
        "url": "git://github.com/npm/npm-cache-filename",
        "type": "git"
      },
      "_npmVersion": "1.4.10",
      "description": "Given a cache folder and url, return the appropriate cache folder.",
      "directories": {},
      "dependencies": {},
      "devDependencies": {
        "tap": "^0.4.10"
      }
    },
    "1.0.2": {
      "name": "npm-cache-filename",
      "version": "1.0.2",
      "author": {
        "url": "http://blog.izs.me/",
        "name": "Isaac Z. Schlueter",
        "email": "i@izs.me"
      },
      "license": "ISC",
      "_id": "npm-cache-filename@1.0.2",
      "maintainers": [
        {
          "name": "isaacs",
          "email": "isaacs@npmjs.com"
        },
        {
          "name": "kat",
          "email": "kat@lua.cz"
        },
        {
          "name": "zkat",
          "email": "kat@sykosomatic.org"
        }
      ],
      "homepage": "https://github.com/npm/npm-cache-filename",
      "bugs": {
        "url": "https://github.com/npm/npm-cache-filename/issues"
      },
      "dist": {
        "shasum": "ded306c5b0bfc870a9e9faf823bc5f283e05ae11",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-cache-filename/-/npm-cache-filename-1.0.2.tgz",
        "integrity": "sha512-5v2y1KG06izpGvZJDSBR5q1Ej+NaPDO05yAAWBJE6+3eiId0R176Gz3Qc2vEmJnE+VGul84g6Qpq8fXzD82/JA==",
        "signatures": [
          {
            "sig": "MEUCIQDtGUFPiEh+jgs96wnXynxI/KpdDX100bwuG3Wp1pFzmQIgeW5A2R5qMcgyJO6enjgmuam6OWUYBoG/ItWHnHII/Ik=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "ded306c5b0bfc870a9e9faf823bc5f283e05ae11",
      "gitHead": "b7eef12919fdf544a3b83bba73093f7268c40c1e",
      "scripts": {
        "test": "tap test.js"
      },
      "_npmUser": {
        "name": "zkat",
        "email": "kat@sykosomatic.org"
      },
      "deprecated": "This package is no longer supported.",
      "repository": {
        "url": "git://github.com/npm/npm-cache-filename.git",
        "type": "git"
      },
      "_npmVersion": "2.12.1",
      "description": "Given a cache folder and url, return the appropriate cache folder.",
      "directories": {},
      "_nodeVersion": "2.2.2",
      "dependencies": {},
      "devDependencies": {
        "tap": "^1.2.0"
      }
    }
  },
  "name": "npm-cache-filename",
  "time": {
    "created": "2014-05-14T01:14:42.525Z",
    "modified": "2026-07-30T02:14:53.515Z",
    "1.0.0": "2014-05-14T01:14:42.525Z",
    "1.0.1": "2014-05-14T05:56:55.384Z",
    "1.0.2": "2015-06-29T21:21:18.877Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/npm/npm-cache-filename"
}