1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/cli/tests/testdata/npm/registry/get-func-name/registry.json

1 line
11 KiB
JSON

{"_id":"get-func-name","_rev":"5-9f6e0ab6bcd7810e50d6032d165fb59b","name":"get-func-name","description":"Utility for getting a function's name for node and the browser","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"get-func-name","description":"Utility for getting a function's name for node and the browser","keywords":["get-func-name","chai util"],"license":"MIT","author":{"name":"Jake Luer","email":"jake@alogicalparadox.com","url":"http://alogicalparadox.com"},"contributors":[{"name":"Keith Cirkel","url":"https://github.com/keithamus"},{"name":"Lucas Fernandes da Costa","url":"https://github.com/lucasfcosta"},{"name":"Grant Snodgrass","url":"https://github.com/meeber"},{"name":"Lucas Vieira","url":"https://github.com/vieiralucas"},{"name":"Aleksey Shvayka","url":"https://github.com/shvaikalesh"}],"files":["index.js","get-func-name.js"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/chaijs/get-func-name.git"},"scripts":{"build":"browserify --bare $npm_package_main --standalone getFuncName -o get-func-name.js","lint":"eslint --ignore-path .gitignore .","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post","pretest":"npm run lint","test":"npm run test:node && npm run test:browser && npm run upload-coverage","test:browser":"karma start --singleRun=true","test:node":"istanbul cover _mocha","upload-coverage":"lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg"}},"eslintConfig":{"extends":["strict/es5"],"env":{"es6":true},"globals":{"HTMLElement":false},"rules":{"complexity":0,"max-statements":0}},"dependencies":{},"devDependencies":{"browserify":"^13.0.0","browserify-istanbul":"^1.0.0","coveralls":"2.11.9","eslint":"^2.4.0","eslint-config-strict":"^8.5.0","eslint-plugin-filenames":"^0.2.0","ghooks":"^1.0.1","istanbul":"^0.4.2","karma":"^0.13.22","karma-browserify":"^5.0.2","karma-coverage":"^0.5.5","karma-mocha":"^0.2.2","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^0.3.1","lcov-result-merger":"^1.0.2","mocha":"^2.4.5","phantomjs-prebuilt":"^2.1.5","semantic-release":"^4.3.5","simple-assert":"^1.0.0","travis-after-all":"^1.4.4","validate-commit-msg":"^2.3.1"},"engines":{"node":"*"},"version":"1.0.0","gitHead":"70bdc1268a76940053b1d90c8ced089a283f00c3","bugs":{"url":"https://github.com/chaijs/get-func-name/issues"},"homepage":"https://github.com/chaijs/get-func-name#readme","_id":"get-func-name@1.0.0","_shasum":"d64e38da8e45acb746726049f36bef89ebfa91c2","_from":".","_npmVersion":"3.10.8","_nodeVersion":"0.10.47","_npmUser":{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},"dist":{"shasum":"d64e38da8e45acb746726049f36bef89ebfa91c2","tarball":"http://localhost:4545/npm/registry/get-func-name/get-func-name-1.0.0.tgz","integrity":"sha512-UB5pzOr1hCCutr/JkVy7txtz53LaKQ4LR3sUXh4dYajE06pGddjKuwUASd+maoUsxt6M8lAaHTPwkZtQmFaH5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL7YEf9X+8M3bPENg68qhdrGXY280h7moqznZj9yWPaAiAdRkR4J3zXH2ACJJXVdqpBKRHvRP4ywLJJ2Lv5z0WgVw=="}]},"maintainers":[{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/get-func-name-1.0.0.tgz_1476229336262_0.2564441079739481"}},"2.0.0":{"name":"get-func-name","description":"Utility for getting a function's name for node and the browser","keywords":["get-func-name","chai util"],"license":"MIT","author":{"name":"Jake Luer","email":"jake@alogicalparadox.com","url":"http://alogicalparadox.com"},"contributors":[{"name":"Keith Cirkel","url":"https://github.com/keithamus"},{"name":"Lucas Fernandes da Costa","url":"https://github.com/lucasfcosta"},{"name":"Grant Snodgrass","url":"https://github.com/meeber"},{"name":"Lucas Vieira","url":"https://github.com/vieiralucas"},{"name":"Aleksey Shvayka","url":"https://github.com/shvaikalesh"}],"files":["index.js","get-func-name.js"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/chaijs/get-func-name.git"},"scripts":{"build":"browserify --bare $npm_package_main --standalone getFuncName -o get-func-name.js","lint":"eslint --ignore-path .gitignore .","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post","pretest":"npm run lint","test":"npm run test:node && npm run test:browser && npm run upload-coverage","test:browser":"karma start --singleRun=true","test:node":"istanbul cover _mocha","upload-coverage":"lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg"}},"eslintConfig":{"extends":["strict/es5"],"env":{"es6":true},"globals":{"HTMLElement":false},"rules":{"complexity":0,"max-statements":0}},"dependencies":{},"devDependencies":{"browserify":"^13.0.0","browserify-istanbul":"^2.0.0","coveralls":"2.11.14","eslint":"^2.4.0","eslint-config-strict":"^9.1.0","eslint-plugin-filenames":"^1.1.0","ghooks":"^1.0.1","istanbul":"^0.4.2","karma":"^1.3.0","karma-browserify":"^5.0.2","karma-coverage":"^1.1.1","karma-mocha":"^1.2.0","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^1.0.0","lcov-result-merger":"^1.0.2","mocha":"^3.1.2","phantomjs-prebuilt":"^2.1.5","semantic-release":"^4.3.5","simple-assert":"^1.0.0","travis-after-all":"^1.4.4","validate-commit-msg":"^2.3.1"},"engines":{"node":"*"},"version":"2.0.0","gitHead":"fbd5eb57742d6e7669a857de85925559b9a830bb","bugs":{"url":"https://github.com/chaijs/get-func-name/issues"},"homepage":"https://github.com/chaijs/get-func-name#readme","_id":"get-func-name@2.0.0","_shasum":"ead774abee72e20409433a066366023dd6887a41","_from":".","_npmVersion":"4.1.1","_nodeVersion":"0.10.48","_npmUser":{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},"dist":{"shasum":"ead774abee72e20409433a066366023dd6887a41","tarball":"http://localhost:4545/npm/registry/get-func-name/get-func-name-2.0.0.tgz","integrity":"sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICp7WV/4PxPCjSMc8LgR+WY3ZOyLdI5KXu2RVK8pQ47QAiBl8cB0Xa33Lh4CCx8VkCznbXVimvN6r4zv3UGsqbVorw=="}]},"maintainers":[{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/get-func-name-2.0.0.tgz_1485286464499_0.020393710350617766"}}},"readme":"<h1 align=center>\n <a href=\"http://chaijs.com\" title=\"Chai Documentation\">\n <img alt=\"ChaiJS\" src=\"http://chaijs.com/img/chai-logo.png\"/>\n <br>\n get-func-name\n </a>\n</h1>\n\n<p align=center>\n Utility for getting a function's name for <a href=\"http://nodejs.org\">node</a> and the browser.\n</p>\n\n<p align=center>\n <a href=\"./LICENSE\">\n <img\n alt=\"license:mit\"\n src=\"https://img.shields.io/badge/license-mit-green.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://github.com/chaijs/get-func-name/releases\">\n <img\n alt=\"tag:?\"\n src=\"https://img.shields.io/github/tag/chaijs/get-func-name.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://travis-ci.org/chaijs/get-func-name\">\n <img\n alt=\"build:?\"\n src=\"https://img.shields.io/travis/chaijs/get-func-name/master.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://coveralls.io/r/chaijs/get-func-name\">\n <img\n alt=\"coverage:?\"\n src=\"https://img.shields.io/coveralls/chaijs/get-func-name/master.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://www.npmjs.com/packages/get-func-name\">\n <img\n alt=\"npm:?\"\n src=\"https://img.shields.io/npm/v/get-func-name.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://www.npmjs.com/packages/get-func-name\">\n <img\n alt=\"dependencies:?\"\n src=\"https://img.shields.io/npm/dm/get-func-name.svg?style=flat-square\"\n />\n </a>\n <a href=\"\">\n <img\n alt=\"devDependencies:?\"\n src=\"https://img.shields.io/david/chaijs/get-func-name.svg?style=flat-square\"\n />\n </a>\n <br/>\n <a href=\"https://saucelabs.com/u/chaijs-get-func-name\">\n <img\n alt=\"Selenium Test Status\"\n src=\"https://saucelabs.com/browser-matrix/chaijs-get-func-name.svg\"\n />\n </a>\n <br>\n <a href=\"https://chai-slack.herokuapp.com/\">\n <img\n alt=\"Join the Slack chat\"\n src=\"https://img.shields.io/badge/slack-join%20chat-E2206F.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://gitter.im/chaijs/chai\">\n <img\n alt=\"Join the Gitter chat\"\n src=\"https://img.shields.io/badge/gitter-join%20chat-D0104D.svg?style=flat-square\"\n />\n </a>\n</p>\n\n## What is get-func-name?\n\nThis is a module to retrieve a function's name securely and consistently both in NodeJS and the browser.\n\n## Installation\n\n### Node.js\n\n`get-func-name` is available on [npm](http://npmjs.org). To install it, type:\n\n $ npm install get-func-name\n\n### Browsers\n\nYou can also use it within the browser; install via npm and use the `get-func-name.js` file found within the download. For example:\n\n```html\n<script src=\"./node_modules/get-func-name/get-func-name.js\"></script>\n```\n\n## Usage\n\nThe module `get-func-name` exports the following method:\n\n* `getFuncName(fn)` - Returns the name of a function.\n\n```js\nvar getFuncName = require('get-func-name');\n```\n\n#### .getFuncName(fun)\n\n```js\nvar getFuncName = require('get-func-name');\n\nvar unknownFunction = function myCoolFunction(word) {\n return word + 'is cool'; \n};\n\nvar anonymousFunction = (function () {\n return function () {};\n}());\n\ngetFuncName(unknownFunction) // 'myCoolFunction'\ngetFuncName(anonymousFunction) // ''\n```\n","maintainers":[{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"}],"time":{"modified":"2022-06-18T07:48:21.817Z","created":"2016-10-11T23:42:17.896Z","1.0.0":"2016-10-11T23:42:17.896Z","2.0.0":"2017-01-24T19:34:26.383Z"},"homepage":"https://github.com/chaijs/get-func-name#readme","keywords":["get-func-name","chai util"],"repository":{"type":"git","url":"git+ssh://git@github.com/chaijs/get-func-name.git"},"contributors":[{"name":"Keith Cirkel","url":"https://github.com/keithamus"},{"name":"Lucas Fernandes da Costa","url":"https://github.com/lucasfcosta"},{"name":"Grant Snodgrass","url":"https://github.com/meeber"},{"name":"Lucas Vieira","url":"https://github.com/vieiralucas"},{"name":"Aleksey Shvayka","url":"https://github.com/shvaikalesh"}],"author":{"name":"Jake Luer","email":"jake@alogicalparadox.com","url":"http://alogicalparadox.com"},"bugs":{"url":"https://github.com/chaijs/get-func-name/issues"},"license":"MIT","readmeFilename":"README.md","users":{"justjavac":true}}