Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/get-func-name.json

raw
1 {
2 "_id": "get-func-name",
3 "_rev": "3-6aabc759571659b2fe23834e209a911c",
4 "name": "get-func-name",
5 "description": "Utility for getting a function's name for node and the browser",
6 "dist-tags": {
7 "latest": "2.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "get-func-name",
12 "description": "Utility for getting a function's name for node and the browser",
13 "keywords": [
14 "get-func-name",
15 "chai util"
16 ],
17 "license": "MIT",
18 "author": {
19 "name": "Jake Luer",
20 "email": "[email protected]",
21 "url": "http://alogicalparadox.com"
22 },
23 "contributors": [
24 {
25 "name": "Keith Cirkel",
26 "url": "https://github.com/keithamus"
27 },
28 {
29 "name": "Lucas Fernandes da Costa",
30 "url": "https://github.com/lucasfcosta"
31 },
32 {
33 "name": "Grant Snodgrass",
34 "url": "https://github.com/meeber"
35 },
36 {
37 "name": "Lucas Vieira",
38 "url": "https://github.com/vieiralucas"
39 },
40 {
41 "name": "Aleksey Shvayka",
42 "url": "https://github.com/shvaikalesh"
43 }
44 ],
45 "files": [
46 "index.js",
47 "get-func-name.js"
48 ],
49 "main": "./index.js",
50 "repository": {
51 "type": "git",
52 "url": "git+ssh://[email protected]/chaijs/get-func-name.git"
53 },
54 "scripts": {
55 "build": "browserify --bare $npm_package_main --standalone getFuncName -o get-func-name.js",
56 "lint": "eslint --ignore-path .gitignore .",
57 "prepublish": "npm run build",
58 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
59 "pretest": "npm run lint",
60 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
61 "test:browser": "karma start --singleRun=true",
62 "test:node": "istanbul cover _mocha",
63 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
64 },
65 "config": {
66 "ghooks": {
67 "commit-msg": "validate-commit-msg"
68 }
69 },
70 "eslintConfig": {
71 "extends": [
72 "strict/es5"
73 ],
74 "env": {
75 "es6": true
76 },
77 "globals": {
78 "HTMLElement": false
79 },
80 "rules": {
81 "complexity": 0,
82 "max-statements": 0
83 }
84 },
85 "dependencies": {},
86 "devDependencies": {
87 "browserify": "^13.0.0",
88 "browserify-istanbul": "^1.0.0",
89 "coveralls": "2.11.9",
90 "eslint": "^2.4.0",
91 "eslint-config-strict": "^8.5.0",
92 "eslint-plugin-filenames": "^0.2.0",
93 "ghooks": "^1.0.1",
94 "istanbul": "^0.4.2",
95 "karma": "^0.13.22",
96 "karma-browserify": "^5.0.2",
97 "karma-coverage": "^0.5.5",
98 "karma-mocha": "^0.2.2",
99 "karma-phantomjs-launcher": "^1.0.0",
100 "karma-sauce-launcher": "^0.3.1",
101 "lcov-result-merger": "^1.0.2",
102 "mocha": "^2.4.5",
103 "phantomjs-prebuilt": "^2.1.5",
104 "semantic-release": "^4.3.5",
105 "simple-assert": "^1.0.0",
106 "travis-after-all": "^1.4.4",
107 "validate-commit-msg": "^2.3.1"
108 },
109 "engines": {
110 "node": "*"
111 },
112 "version": "1.0.0",
113 "gitHead": "70bdc1268a76940053b1d90c8ced089a283f00c3",
114 "bugs": {
115 "url": "https://github.com/chaijs/get-func-name/issues"
116 },
117 "homepage": "https://github.com/chaijs/get-func-name#readme",
118 "_id": "[email protected]",
119 "_shasum": "d64e38da8e45acb746726049f36bef89ebfa91c2",
120 "_from": ".",
121 "_npmVersion": "3.10.8",
122 "_nodeVersion": "0.10.47",
123 "_npmUser": {
124 "name": "chaijs",
125 "email": "[email protected]"
126 },
127 "dist": {
128 "shasum": "d64e38da8e45acb746726049f36bef89ebfa91c2",
129 "tarball": "https://registry.npmjs.org/get-func-name/-/get-func-name-1.0.0.tgz"
130 },
131 "maintainers": [
132 {
133 "name": "chaijs",
134 "email": "[email protected]"
135 }
136 ],
137 "_npmOperationalInternal": {
138 "host": "packages-12-west.internal.npmjs.com",
139 "tmp": "tmp/get-func-name-1.0.0.tgz_1476229336262_0.2564441079739481"
140 },
141 "directories": {}
142 },
143 "2.0.0": {
144 "name": "get-func-name",
145 "description": "Utility for getting a function's name for node and the browser",
146 "keywords": [
147 "get-func-name",
148 "chai util"
149 ],
150 "license": "MIT",
151 "author": {
152 "name": "Jake Luer",
153 "email": "[email protected]",
154 "url": "http://alogicalparadox.com"
155 },
156 "contributors": [
157 {
158 "name": "Keith Cirkel",
159 "url": "https://github.com/keithamus"
160 },
161 {
162 "name": "Lucas Fernandes da Costa",
163 "url": "https://github.com/lucasfcosta"
164 },
165 {
166 "name": "Grant Snodgrass",
167 "url": "https://github.com/meeber"
168 },
169 {
170 "name": "Lucas Vieira",
171 "url": "https://github.com/vieiralucas"
172 },
173 {
174 "name": "Aleksey Shvayka",
175 "url": "https://github.com/shvaikalesh"
176 }
177 ],
178 "files": [
179 "index.js",
180 "get-func-name.js"
181 ],
182 "main": "./index.js",
183 "repository": {
184 "type": "git",
185 "url": "git+ssh://[email protected]/chaijs/get-func-name.git"
186 },
187 "scripts": {
188 "build": "browserify --bare $npm_package_main --standalone getFuncName -o get-func-name.js",
189 "lint": "eslint --ignore-path .gitignore .",
190 "prepublish": "npm run build",
191 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
192 "pretest": "npm run lint",
193 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
194 "test:browser": "karma start --singleRun=true",
195 "test:node": "istanbul cover _mocha",
196 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
197 },
198 "config": {
199 "ghooks": {
200 "commit-msg": "validate-commit-msg"
201 }
202 },
203 "eslintConfig": {
204 "extends": [
205 "strict/es5"
206 ],
207 "env": {
208 "es6": true
209 },
210 "globals": {
211 "HTMLElement": false
212 },
213 "rules": {
214 "complexity": 0,
215 "max-statements": 0
216 }
217 },
218 "dependencies": {},
219 "devDependencies": {
220 "browserify": "^13.0.0",
221 "browserify-istanbul": "^2.0.0",
222 "coveralls": "2.11.14",
223 "eslint": "^2.4.0",
224 "eslint-config-strict": "^9.1.0",
225 "eslint-plugin-filenames": "^1.1.0",
226 "ghooks": "^1.0.1",
227 "istanbul": "^0.4.2",
228 "karma": "^1.3.0",
229 "karma-browserify": "^5.0.2",
230 "karma-coverage": "^1.1.1",
231 "karma-mocha": "^1.2.0",
232 "karma-phantomjs-launcher": "^1.0.0",
233 "karma-sauce-launcher": "^1.0.0",
234 "lcov-result-merger": "^1.0.2",
235 "mocha": "^3.1.2",
236 "phantomjs-prebuilt": "^2.1.5",
237 "semantic-release": "^4.3.5",
238 "simple-assert": "^1.0.0",
239 "travis-after-all": "^1.4.4",
240 "validate-commit-msg": "^2.3.1"
241 },
242 "engines": {
243 "node": "*"
244 },
245 "version": "2.0.0",
246 "gitHead": "fbd5eb57742d6e7669a857de85925559b9a830bb",
247 "bugs": {
248 "url": "https://github.com/chaijs/get-func-name/issues"
249 },
250 "homepage": "https://github.com/chaijs/get-func-name#readme",
251 "_id": "[email protected]",
252 "_shasum": "ead774abee72e20409433a066366023dd6887a41",
253 "_from": ".",
254 "_npmVersion": "4.1.1",
255 "_nodeVersion": "0.10.48",
256 "_npmUser": {
257 "name": "chaijs",
258 "email": "[email protected]"
259 },
260 "dist": {
261 "shasum": "ead774abee72e20409433a066366023dd6887a41",
262 "tarball": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz"
263 },
264 "maintainers": [
265 {
266 "name": "chaijs",
267 "email": "[email protected]"
268 }
269 ],
270 "_npmOperationalInternal": {
271 "host": "packages-12-west.internal.npmjs.com",
272 "tmp": "tmp/get-func-name-2.0.0.tgz_1485286464499_0.020393710350617766"
273 },
274 "directories": {}
275 }
276 },
277 "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",
278 "maintainers": [
279 {
280 "name": "chaijs",
281 "email": "[email protected]"
282 }
283 ],
284 "time": {
285 "modified": "2017-11-06T05:13:34.494Z",
286 "created": "2016-10-11T23:42:17.896Z",
287 "1.0.0": "2016-10-11T23:42:17.896Z",
288 "2.0.0": "2017-01-24T19:34:26.383Z"
289 },
290 "homepage": "https://github.com/chaijs/get-func-name#readme",
291 "keywords": [
292 "get-func-name",
293 "chai util"
294 ],
295 "repository": {
296 "type": "git",
297 "url": "git+ssh://[email protected]/chaijs/get-func-name.git"
298 },
299 "contributors": [
300 {
301 "name": "Keith Cirkel",
302 "url": "https://github.com/keithamus"
303 },
304 {
305 "name": "Lucas Fernandes da Costa",
306 "url": "https://github.com/lucasfcosta"
307 },
308 {
309 "name": "Grant Snodgrass",
310 "url": "https://github.com/meeber"
311 },
312 {
313 "name": "Lucas Vieira",
314 "url": "https://github.com/vieiralucas"
315 },
316 {
317 "name": "Aleksey Shvayka",
318 "url": "https://github.com/shvaikalesh"
319 }
320 ],
321 "author": {
322 "name": "Jake Luer",
323 "email": "[email protected]",
324 "url": "http://alogicalparadox.com"
325 },
326 "bugs": {
327 "url": "https://github.com/chaijs/get-func-name/issues"
328 },
329 "license": "MIT",
330 "readmeFilename": "README.md",
331 "users": {
332 "justjavac": true
333 },
334 "_attachments": {}
335 }