| 1 |
{ |
| 2 |
"_id": "callsites", |
| 3 |
"_rev": "14-76f9fe73fe709cd7bf54e31287171006", |
| 4 |
"name": "callsites", |
| 5 |
"description": "Get callsites from the V8 stack trace API", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "callsites", |
| 12 |
"version": "0.1.0", |
| 13 |
"description": "Get callsites from the V8 stack trace API", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "git://github.com/sindresorhus/callsites" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "http://sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "mocha" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"callsites", |
| 35 |
"callsite", |
| 36 |
"v8", |
| 37 |
"stacktrace", |
| 38 |
"stack", |
| 39 |
"trace", |
| 40 |
"function", |
| 41 |
"file", |
| 42 |
"line", |
| 43 |
"debug" |
| 44 |
], |
| 45 |
"devDependencies": { |
| 46 |
"mocha": "*" |
| 47 |
}, |
| 48 |
"bugs": { |
| 49 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 50 |
}, |
| 51 |
"homepage": "https://github.com/sindresorhus/callsites", |
| 52 |
"_id": "[email protected]", |
| 53 |
"dist": { |
| 54 |
"shasum": "2b856278a6948e4afe55f2600d05f89bd88b492a", |
| 55 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-0.1.0.tgz" |
| 56 |
}, |
| 57 |
"_from": ".", |
| 58 |
"_npmVersion": "1.4.6", |
| 59 |
"_npmUser": { |
| 60 |
"name": "sindresorhus", |
| 61 |
"email": "[email protected]" |
| 62 |
}, |
| 63 |
"maintainers": [ |
| 64 |
{ |
| 65 |
"name": "sindresorhus", |
| 66 |
"email": "[email protected]" |
| 67 |
} |
| 68 |
], |
| 69 |
"directories": {} |
| 70 |
}, |
| 71 |
"0.2.0": { |
| 72 |
"name": "callsites", |
| 73 |
"version": "0.2.0", |
| 74 |
"description": "Get callsites from the V8 stack trace API", |
| 75 |
"license": "MIT", |
| 76 |
"repository": { |
| 77 |
"type": "git", |
| 78 |
"url": "git://github.com/sindresorhus/callsites" |
| 79 |
}, |
| 80 |
"author": { |
| 81 |
"name": "Sindre Sorhus", |
| 82 |
"email": "[email protected]", |
| 83 |
"url": "http://sindresorhus.com" |
| 84 |
}, |
| 85 |
"engines": { |
| 86 |
"node": ">=0.10.0" |
| 87 |
}, |
| 88 |
"scripts": { |
| 89 |
"test": "mocha" |
| 90 |
}, |
| 91 |
"files": [ |
| 92 |
"index.js" |
| 93 |
], |
| 94 |
"keywords": [ |
| 95 |
"callsites", |
| 96 |
"callsite", |
| 97 |
"v8", |
| 98 |
"stacktrace", |
| 99 |
"stack", |
| 100 |
"trace", |
| 101 |
"function", |
| 102 |
"file", |
| 103 |
"line", |
| 104 |
"debug" |
| 105 |
], |
| 106 |
"devDependencies": { |
| 107 |
"mocha": "*" |
| 108 |
}, |
| 109 |
"bugs": { |
| 110 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 111 |
}, |
| 112 |
"homepage": "https://github.com/sindresorhus/callsites", |
| 113 |
"_id": "[email protected]", |
| 114 |
"dist": { |
| 115 |
"shasum": "afab96262910a7f33c19a5775825c69f34e350ca", |
| 116 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz" |
| 117 |
}, |
| 118 |
"_from": ".", |
| 119 |
"_npmVersion": "1.4.6", |
| 120 |
"_npmUser": { |
| 121 |
"name": "sindresorhus", |
| 122 |
"email": "[email protected]" |
| 123 |
}, |
| 124 |
"maintainers": [ |
| 125 |
{ |
| 126 |
"name": "sindresorhus", |
| 127 |
"email": "[email protected]" |
| 128 |
} |
| 129 |
], |
| 130 |
"directories": {} |
| 131 |
}, |
| 132 |
"1.0.0": { |
| 133 |
"name": "callsites", |
| 134 |
"version": "1.0.0", |
| 135 |
"description": "Get callsites from the V8 stack trace API", |
| 136 |
"license": "MIT", |
| 137 |
"repository": { |
| 138 |
"type": "git", |
| 139 |
"url": "git://github.com/sindresorhus/callsites" |
| 140 |
}, |
| 141 |
"author": { |
| 142 |
"name": "Sindre Sorhus", |
| 143 |
"email": "[email protected]", |
| 144 |
"url": "http://sindresorhus.com" |
| 145 |
}, |
| 146 |
"engines": { |
| 147 |
"node": ">=0.10.0" |
| 148 |
}, |
| 149 |
"scripts": { |
| 150 |
"test": "mocha" |
| 151 |
}, |
| 152 |
"files": [ |
| 153 |
"index.js" |
| 154 |
], |
| 155 |
"keywords": [ |
| 156 |
"callsites", |
| 157 |
"callsite", |
| 158 |
"v8", |
| 159 |
"stacktrace", |
| 160 |
"stack", |
| 161 |
"trace", |
| 162 |
"function", |
| 163 |
"file", |
| 164 |
"line", |
| 165 |
"debug" |
| 166 |
], |
| 167 |
"devDependencies": { |
| 168 |
"mocha": "*" |
| 169 |
}, |
| 170 |
"gitHead": "a5f41b0b95a6b8763cb392def8e07e7a88670b02", |
| 171 |
"bugs": { |
| 172 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 173 |
}, |
| 174 |
"homepage": "https://github.com/sindresorhus/callsites", |
| 175 |
"_id": "[email protected]", |
| 176 |
"_shasum": "02563b10ed31f2ebd95893a776f0b3d95a6b15b8", |
| 177 |
"_from": ".", |
| 178 |
"_npmVersion": "1.4.14", |
| 179 |
"_npmUser": { |
| 180 |
"name": "sindresorhus", |
| 181 |
"email": "[email protected]" |
| 182 |
}, |
| 183 |
"maintainers": [ |
| 184 |
{ |
| 185 |
"name": "sindresorhus", |
| 186 |
"email": "[email protected]" |
| 187 |
} |
| 188 |
], |
| 189 |
"dist": { |
| 190 |
"shasum": "02563b10ed31f2ebd95893a776f0b3d95a6b15b8", |
| 191 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-1.0.0.tgz" |
| 192 |
}, |
| 193 |
"directories": {} |
| 194 |
}, |
| 195 |
"1.0.1": { |
| 196 |
"name": "callsites", |
| 197 |
"version": "1.0.1", |
| 198 |
"description": "Get callsites from the V8 stack trace API", |
| 199 |
"license": "MIT", |
| 200 |
"repository": { |
| 201 |
"type": "git", |
| 202 |
"url": "git+https://github.com/sindresorhus/callsites.git" |
| 203 |
}, |
| 204 |
"author": { |
| 205 |
"name": "Sindre Sorhus", |
| 206 |
"email": "[email protected]", |
| 207 |
"url": "sindresorhus.com" |
| 208 |
}, |
| 209 |
"engines": { |
| 210 |
"node": ">=0.10" |
| 211 |
}, |
| 212 |
"scripts": { |
| 213 |
"test": "xo && ava" |
| 214 |
}, |
| 215 |
"files": [ |
| 216 |
"index.js" |
| 217 |
], |
| 218 |
"keywords": [ |
| 219 |
"stacktrace", |
| 220 |
"v8", |
| 221 |
"callsite", |
| 222 |
"callsites", |
| 223 |
"stack", |
| 224 |
"trace", |
| 225 |
"function", |
| 226 |
"file", |
| 227 |
"line", |
| 228 |
"debug" |
| 229 |
], |
| 230 |
"devDependencies": { |
| 231 |
"ava": "*", |
| 232 |
"xo": "*" |
| 233 |
}, |
| 234 |
"gitHead": "c18e4ce8ce38fb0e628f9a423471c9bac991e42a", |
| 235 |
"bugs": { |
| 236 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 237 |
}, |
| 238 |
"homepage": "https://github.com/sindresorhus/callsites#readme", |
| 239 |
"_id": "[email protected]", |
| 240 |
"_shasum": "c14c24188ce8e1d6a030b4c3c942e6ba895b6a1a", |
| 241 |
"_from": ".", |
| 242 |
"_npmVersion": "2.15.0", |
| 243 |
"_nodeVersion": "4.4.2", |
| 244 |
"_npmUser": { |
| 245 |
"name": "sindresorhus", |
| 246 |
"email": "[email protected]" |
| 247 |
}, |
| 248 |
"dist": { |
| 249 |
"shasum": "c14c24188ce8e1d6a030b4c3c942e6ba895b6a1a", |
| 250 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-1.0.1.tgz" |
| 251 |
}, |
| 252 |
"maintainers": [ |
| 253 |
{ |
| 254 |
"name": "sindresorhus", |
| 255 |
"email": "[email protected]" |
| 256 |
} |
| 257 |
], |
| 258 |
"_npmOperationalInternal": { |
| 259 |
"host": "packages-16-east.internal.npmjs.com", |
| 260 |
"tmp": "tmp/callsites-1.0.1.tgz_1462973676632_0.5280761285685003" |
| 261 |
}, |
| 262 |
"directories": {} |
| 263 |
}, |
| 264 |
"2.0.0": { |
| 265 |
"name": "callsites", |
| 266 |
"version": "2.0.0", |
| 267 |
"description": "Get callsites from the V8 stack trace API", |
| 268 |
"license": "MIT", |
| 269 |
"repository": { |
| 270 |
"type": "git", |
| 271 |
"url": "git+https://github.com/sindresorhus/callsites.git" |
| 272 |
}, |
| 273 |
"author": { |
| 274 |
"name": "Sindre Sorhus", |
| 275 |
"email": "[email protected]", |
| 276 |
"url": "sindresorhus.com" |
| 277 |
}, |
| 278 |
"engines": { |
| 279 |
"node": ">=4" |
| 280 |
}, |
| 281 |
"scripts": { |
| 282 |
"test": "xo && ava" |
| 283 |
}, |
| 284 |
"files": [ |
| 285 |
"index.js" |
| 286 |
], |
| 287 |
"keywords": [ |
| 288 |
"stacktrace", |
| 289 |
"v8", |
| 290 |
"callsite", |
| 291 |
"callsites", |
| 292 |
"stack", |
| 293 |
"trace", |
| 294 |
"function", |
| 295 |
"file", |
| 296 |
"line", |
| 297 |
"debug" |
| 298 |
], |
| 299 |
"devDependencies": { |
| 300 |
"ava": "*", |
| 301 |
"xo": "*" |
| 302 |
}, |
| 303 |
"xo": { |
| 304 |
"esnext": true |
| 305 |
}, |
| 306 |
"gitHead": "76081d07c93d0ec3657d2be3c300bb21f45cf9db", |
| 307 |
"bugs": { |
| 308 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 309 |
}, |
| 310 |
"homepage": "https://github.com/sindresorhus/callsites#readme", |
| 311 |
"_id": "[email protected]", |
| 312 |
"_shasum": "06eb84f00eea413da86affefacbffb36093b3c50", |
| 313 |
"_from": ".", |
| 314 |
"_npmVersion": "2.15.9", |
| 315 |
"_nodeVersion": "4.5.0", |
| 316 |
"_npmUser": { |
| 317 |
"name": "sindresorhus", |
| 318 |
"email": "[email protected]" |
| 319 |
}, |
| 320 |
"dist": { |
| 321 |
"shasum": "06eb84f00eea413da86affefacbffb36093b3c50", |
| 322 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz" |
| 323 |
}, |
| 324 |
"maintainers": [ |
| 325 |
{ |
| 326 |
"name": "sindresorhus", |
| 327 |
"email": "[email protected]" |
| 328 |
} |
| 329 |
], |
| 330 |
"_npmOperationalInternal": { |
| 331 |
"host": "packages-12-west.internal.npmjs.com", |
| 332 |
"tmp": "tmp/callsites-2.0.0.tgz_1472344208744_0.7568928482942283" |
| 333 |
}, |
| 334 |
"directories": {} |
| 335 |
}, |
| 336 |
"3.0.0": { |
| 337 |
"name": "callsites", |
| 338 |
"version": "3.0.0", |
| 339 |
"description": "Get callsites from the V8 stack trace API", |
| 340 |
"license": "MIT", |
| 341 |
"repository": { |
| 342 |
"type": "git", |
| 343 |
"url": "git+https://github.com/sindresorhus/callsites.git" |
| 344 |
}, |
| 345 |
"author": { |
| 346 |
"name": "Sindre Sorhus", |
| 347 |
"email": "[email protected]", |
| 348 |
"url": "sindresorhus.com" |
| 349 |
}, |
| 350 |
"engines": { |
| 351 |
"node": ">=6" |
| 352 |
}, |
| 353 |
"scripts": { |
| 354 |
"test": "xo && ava && tsd-check" |
| 355 |
}, |
| 356 |
"keywords": [ |
| 357 |
"stacktrace", |
| 358 |
"v8", |
| 359 |
"callsite", |
| 360 |
"callsites", |
| 361 |
"stack", |
| 362 |
"trace", |
| 363 |
"function", |
| 364 |
"file", |
| 365 |
"line", |
| 366 |
"debug" |
| 367 |
], |
| 368 |
"devDependencies": { |
| 369 |
"ava": "^0.25.0", |
| 370 |
"tsd-check": "^0.2.1", |
| 371 |
"xo": "^0.23.0" |
| 372 |
}, |
| 373 |
"gitHead": "3bc8adc7a7a9d3c4c54ec935c8890c31db165fb1", |
| 374 |
"bugs": { |
| 375 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 376 |
}, |
| 377 |
"homepage": "https://github.com/sindresorhus/callsites#readme", |
| 378 |
"_id": "[email protected]", |
| 379 |
"_npmVersion": "6.4.1", |
| 380 |
"_nodeVersion": "10.13.0", |
| 381 |
"_npmUser": { |
| 382 |
"name": "sindresorhus", |
| 383 |
"email": "[email protected]" |
| 384 |
}, |
| 385 |
"dist": { |
| 386 |
"integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==", |
| 387 |
"shasum": "fb7eb569b72ad7a45812f93fd9430a3e410b3dd3", |
| 388 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz", |
| 389 |
"fileCount": 5, |
| 390 |
"unpackedSize": 5855, |
| 391 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8vSxCRA9TVsSAnZWagAAKAQP/0bfgzITyqauvJhicDT4\nvtmBngqgOfnQOg8wFQRh2iSr4LVuJk+pYPZf1w7ocKh9W2uLklsEzeqZ0z+j\ncMpMbchlIlnwFCV0ki/26QecxkdDrSYBqdyMvWDOSjNah7WrjTGSobUI8Y1V\n6q+0i7mTCpd5KB6b7oYrvH3CWyewxSLDNEE/4PDlMUjfn1/JVhOUBKr0heIJ\nj4HHiUTOd/SI3bgNezusuMAsrFd6UOu3Xc+vC7qvNVSCd2jedbx5nYQZZguy\n57piqcPtLc4fsyV0KBxVtHqhAg8t5mHLgT3lmOMPM1P6EYCkrcBTRl2DNhGG\nNoCfk5rnKwTF+c47/YusbUZuenFcjMRoAe6zAifylHjh3jp/McHsPqlYJfXL\nJtiVMhE+NbdJyAFqlzaaPRFo1q4py+gqcfP6hFop808K03fyMQmgAynhPnXg\noM1eygHnGiQ/o7mMCH7YbLyEILXegKNG5hsuq50oAg1IGCdx2PWgIFcfnr58\nsomuOfpfDhpaHm5WKRiwlSBu1jYfcbKbNijHUUck1G+48jSe1NCV10n+T7xD\nhYk2/TY6tyl00CiTHCG8UGfvkIIEKiCAu0SNrmtlLwfGXnCGRLWlpuL05wpT\nRw3DjmYgxvILyRYGRjhHN1yi3ywox2fzzD8jALkG2IfuY/7QlCDcj17ioqIy\nwiN8\r\n=qA6C\r\n-----END PGP SIGNATURE-----\r\n" |
| 392 |
}, |
| 393 |
"maintainers": [ |
| 394 |
{ |
| 395 |
"name": "sindresorhus", |
| 396 |
"email": "[email protected]" |
| 397 |
} |
| 398 |
], |
| 399 |
"directories": {}, |
| 400 |
"_npmOperationalInternal": { |
| 401 |
"host": "s3://npm-registry-packages", |
| 402 |
"tmp": "tmp/callsites_3.0.0_1542649008789_0.5312700033194684" |
| 403 |
}, |
| 404 |
"_hasShrinkwrap": false |
| 405 |
}, |
| 406 |
"3.1.0": { |
| 407 |
"name": "callsites", |
| 408 |
"version": "3.1.0", |
| 409 |
"description": "Get callsites from the V8 stack trace API", |
| 410 |
"license": "MIT", |
| 411 |
"repository": { |
| 412 |
"type": "git", |
| 413 |
"url": "git+https://github.com/sindresorhus/callsites.git" |
| 414 |
}, |
| 415 |
"author": { |
| 416 |
"name": "Sindre Sorhus", |
| 417 |
"email": "[email protected]", |
| 418 |
"url": "sindresorhus.com" |
| 419 |
}, |
| 420 |
"engines": { |
| 421 |
"node": ">=6" |
| 422 |
}, |
| 423 |
"scripts": { |
| 424 |
"test": "xo && ava && tsd" |
| 425 |
}, |
| 426 |
"keywords": [ |
| 427 |
"stacktrace", |
| 428 |
"v8", |
| 429 |
"callsite", |
| 430 |
"callsites", |
| 431 |
"stack", |
| 432 |
"trace", |
| 433 |
"function", |
| 434 |
"file", |
| 435 |
"line", |
| 436 |
"debug" |
| 437 |
], |
| 438 |
"devDependencies": { |
| 439 |
"ava": "^1.4.1", |
| 440 |
"tsd": "^0.7.2", |
| 441 |
"xo": "^0.24.0" |
| 442 |
}, |
| 443 |
"gitHead": "f89815af2e0255094283c86977f1e679a8fb411b", |
| 444 |
"bugs": { |
| 445 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 446 |
}, |
| 447 |
"homepage": "https://github.com/sindresorhus/callsites#readme", |
| 448 |
"_id": "[email protected]", |
| 449 |
"_npmVersion": "6.4.1", |
| 450 |
"_nodeVersion": "10.15.1", |
| 451 |
"_npmUser": { |
| 452 |
"name": "sindresorhus", |
| 453 |
"email": "[email protected]" |
| 454 |
}, |
| 455 |
"dist": { |
| 456 |
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", |
| 457 |
"shasum": "b3630abd8943432f54b3f0519238e33cd7df2f73", |
| 458 |
"tarball": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", |
| 459 |
"fileCount": 5, |
| 460 |
"unpackedSize": 6332, |
| 461 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqJQrCRA9TVsSAnZWagAAcRoP/RY2HQ1BswbNXAS2M7bm\nzebyqQswmP3waLE3aAesF0U93FLfWZGocpZX1uQDqsUdazD1ZjpTMUrEN3jB\ncukO9E0J8JqAFS25KZeKArk2jS86VzeslPSvVxye/LJ9tB115m/TrudLG7jV\nvEgR3/L1Onh7Jfz/hGqB9RpO4D6OdQsK8UmXt7wgXDnzazMS+Zi/x4woQR9G\n8BfVor+UCfEtm1UOuJ9STti17MZKdtk8F0kHBQGpcvcntsBIPGJN4hUv8sUI\nOXMSQv3JDaW6t0on5d7cbMdFQ1+BCB2+audLXgW0lUzZsWXUMRZLBE26LbAf\nXy7lIbtLy8edyLqsyTa66TWEnjSZrAqAOGuBBGZi7jBtPKpKVz9a47m4ziPe\na5pRw3ZNY2mdSoahYvuaIJMrlsj9xFtaqAAP+N3Lqlb/MxmHPGMMdxdECr2V\nJys6Gb2ncM2vtW4RvmWrQqUlK/s1HbCw38UhkmQfB0r2/K6YIwpPdDIfmvNK\nwgYRBIAFAIxPTNIQ2u0HzcCzKMi893dhwKOtJOhJF2IYc+1E9/AiwGOeru7w\nNNNPEsxwczNfN4cK+0/1OYO0w7j+ybNKtIRhq37ygZZPNnOZ50sYsfie+3Mg\nBWHHRcJIE5vt4ju3qsU39kTBJyOmskw077XIdpKb6PfQ+afntDD7VThWR/3Y\n4YTc\r\n=TFEa\r\n-----END PGP SIGNATURE-----\r\n" |
| 462 |
}, |
| 463 |
"maintainers": [ |
| 464 |
{ |
| 465 |
"name": "sindresorhus", |
| 466 |
"email": "[email protected]" |
| 467 |
} |
| 468 |
], |
| 469 |
"directories": {}, |
| 470 |
"_npmOperationalInternal": { |
| 471 |
"host": "s3://npm-registry-packages", |
| 472 |
"tmp": "tmp/callsites_3.1.0_1554551850429_0.3545214734540718" |
| 473 |
}, |
| 474 |
"_hasShrinkwrap": false |
| 475 |
} |
| 476 |
}, |
| 477 |
"readme": "# callsites [](https://travis-ci.org/sindresorhus/callsites)\n\n> Get callsites from the [V8 stack trace API](https://v8.dev/docs/stack-trace-api)\n\n\n## Install\n\n```\n$ npm install callsites\n```\n\n\n## Usage\n\n```js\nconst callsites = require('callsites');\n\nfunction unicorn() {\n\tconsole.log(callsites()[0].getFileName());\n\t//=> '/Users/sindresorhus/dev/callsites/test.js'\n}\n\nunicorn();\n```\n\n\n## API\n\nReturns an array of callsite objects with the following methods:\n\n- `getThis`: returns the value of `this`.\n- `getTypeName`: returns the type of `this` as a string. This is the name of the function stored in the constructor field of `this`, if available, otherwise the object's `[[Class]]` internal property.\n- `getFunction`: returns the current function.\n- `getFunctionName`: returns the name of the current function, typically its `name` property. If a name property is not available an attempt will be made to try to infer a name from the function's context.\n- `getMethodName`: returns the name of the property of `this` or one of its prototypes that holds the current function.\n- `getFileName`: if this function was defined in a script returns the name of the script.\n- `getLineNumber`: if this function was defined in a script returns the current line number.\n- `getColumnNumber`: if this function was defined in a script returns the current column number\n- `getEvalOrigin`: if this function was created using a call to `eval` returns a string representing the location where `eval` was called.\n- `isToplevel`: is this a top-level invocation, that is, is this the global object?\n- `isEval`: does this call take place in code defined by a call to `eval`?\n- `isNative`: is this call in native V8 code?\n- `isConstructor`: is this a constructor call?\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 478 |
"maintainers": [ |
| 479 |
{ |
| 480 |
"name": "sindresorhus", |
| 481 |
"email": "[email protected]" |
| 482 |
} |
| 483 |
], |
| 484 |
"time": { |
| 485 |
"modified": "2019-04-06T11:57:33.126Z", |
| 486 |
"created": "2014-04-19T10:11:43.316Z", |
| 487 |
"0.1.0": "2014-04-19T10:11:43.316Z", |
| 488 |
"0.2.0": "2014-04-19T10:12:18.747Z", |
| 489 |
"1.0.0": "2014-08-17T18:47:35.372Z", |
| 490 |
"1.0.1": "2016-05-11T13:34:39.471Z", |
| 491 |
"2.0.0": "2016-08-28T00:30:10.498Z", |
| 492 |
"3.0.0": "2018-11-19T17:36:49.033Z", |
| 493 |
"3.1.0": "2019-04-06T11:57:30.657Z" |
| 494 |
}, |
| 495 |
"homepage": "https://github.com/sindresorhus/callsites#readme", |
| 496 |
"keywords": [ |
| 497 |
"stacktrace", |
| 498 |
"v8", |
| 499 |
"callsite", |
| 500 |
"callsites", |
| 501 |
"stack", |
| 502 |
"trace", |
| 503 |
"function", |
| 504 |
"file", |
| 505 |
"line", |
| 506 |
"debug" |
| 507 |
], |
| 508 |
"repository": { |
| 509 |
"type": "git", |
| 510 |
"url": "git+https://github.com/sindresorhus/callsites.git" |
| 511 |
}, |
| 512 |
"author": { |
| 513 |
"name": "Sindre Sorhus", |
| 514 |
"email": "[email protected]", |
| 515 |
"url": "sindresorhus.com" |
| 516 |
}, |
| 517 |
"bugs": { |
| 518 |
"url": "https://github.com/sindresorhus/callsites/issues" |
| 519 |
}, |
| 520 |
"license": "MIT", |
| 521 |
"readmeFilename": "readme.md", |
| 522 |
"users": { |
| 523 |
"servel333": true, |
| 524 |
"alvis": true, |
| 525 |
"wangnan0610": true, |
| 526 |
"zuojiang": true |
| 527 |
} |
| 528 |
} |