{
  "manifest": {
    "name": "get-caller-file",
    "version": "2.0.5",
    "description": "[![Build Status](https://travis-ci.org/stefanpenner/get-caller-file.svg?branch=master)](https://travis-ci.org/stefanpenner/get-caller-file) [![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/get-caller-file/branch/master)",
    "main": "index.js",
    "files": [
      "index.js",
      "index.js.map",
      "index.d.ts"
    ],
    "scripts": {
      "prepare": "tsc",
      "test": "mocha test",
      "test:debug": "mocha test"
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/stefanpenner/get-caller-file.git"
    },
    "author": {
      "name": "Stefan Penner"
    },
    "license": "ISC",
    "bugs": {
      "url": "https://github.com/stefanpenner/get-caller-file/issues"
    },
    "homepage": "https://github.com/stefanpenner/get-caller-file#readme",
    "devDependencies": {
      "@types/chai": "^4.1.7",
      "@types/ensure-posix-path": "^1.0.0",
      "@types/mocha": "^5.2.6",
      "@types/node": "^11.10.5",
      "chai": "^4.1.2",
      "ensure-posix-path": "^1.0.1",
      "mocha": "^5.2.0",
      "typescript": "^3.3.3333"
    },
    "engines": {
      "node": "6.* || 8.* || >= 10.*"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-get-caller-file-2.0.5-4f94412a82db32f36e3b0b9741f8a97feb031f7e-integrity/node_modules/get-caller-file/package.json",
    "readmeFilename": "README.md",
    "readme": "# get-caller-file\n\n[![Build Status](https://travis-ci.org/stefanpenner/get-caller-file.svg?branch=master)](https://travis-ci.org/stefanpenner/get-caller-file)\n[![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/get-caller-file/branch/master)\n\nThis is a utility, which allows a function to figure out from which file it was invoked. It does so by inspecting v8's stack trace at the time it is invoked.\n\nInspired by http://stackoverflow.com/questions/13227489\n\n*note: this relies on Node/V8 specific APIs, as such other runtimes may not work*\n\n## Installation\n\n```bash\nyarn add get-caller-file\n```\n\n## Usage\n\nGiven:\n\n```js\n// ./foo.js\nconst getCallerFile = require('get-caller-file');\n\nmodule.exports = function() {\n  return getCallerFile(); // figures out who called it\n};\n```\n\n```js\n// index.js\nconst foo = require('./foo');\n\nfoo() // => /full/path/to/this/file/index.js\n```\n\n\n## Options:\n\n* `getCallerFile(position = 2)`: where position is stack frame whos fileName we want.\n",
    "licenseText": "ISC License (ISC)\nCopyright 2018 Stefan Penner\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz",
    "hash": "4f94412a82db32f36e3b0b9741f8a97feb031f7e",
    "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
    "registry": "npm",
    "packageName": "get-caller-file",
    "cacheIntegrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== sha1-T5RBKoLbMvNuOwuXQfipf+sDH34="
  },
  "registry": "npm",
  "hash": "4f94412a82db32f36e3b0b9741f8a97feb031f7e"
}