Sha256: 982f5e20a35bf59191b992cb771483fdd49171a35f5321cee9f1bb81ef80a13f

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

{
  "name": "callsite",
  "version": "1.0.0",
  "description": "access to v8's CallSites",
  "keywords": [
    "stack",
    "trace",
    "line"
  ],
  "author": {
    "name": "TJ Holowaychuk",
    "email": "tj@vision-media.ca"
  },
  "dependencies": {},
  "devDependencies": {
    "mocha": "*",
    "should": "*"
  },
  "main": "index",
  "engines": {
    "node": "*"
  },
  "readme": "# callstack\n\n  Access to v8's \"raw\" `CallSite`s.\n\n## Installation\n\n    $ npm install callsite\n\n## Example\n\n```js\nvar stack = require('callsite');\n\nfoo();\n\nfunction foo() {\n  bar();\n}\n\nfunction bar() {\n  baz();\n}\n\nfunction baz() {\n  console.log();\n  stack().forEach(function(site){\n    console.log('  \\033[36m%s\\033[90m in %s:%d\\033[0m'\n      , site.getFunctionName() || 'anonymous'\n      , site.getFileName()\n      , site.getLineNumber());\n  });\n  console.log();\n}\n```\n\n## Why?\n\n  Because you can do weird, stupid, clever, wacky things such as:\n\n  - [better-assert](https://github.com/visionmedia/better-assert)\n\n## License\n\n  MIT\n",
  "readmeFilename": "Readme.md",
  "_id": "callsite@1.0.0",
  "dist": {
    "shasum": "280398e5d664bd74038b6f0905153e6e8af1bc20"
  },
  "_from": "callsite@~1.0.0",
  "_resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/package.json