UNPKG

pnpm

Version:

Fast, disk space efficient package manager

123 lines (122 loc) 8.71 kB
{ "_args": [ [ { "raw": "function.name@^1.0.3", "scope": null, "escapedName": "function.name", "name": "function.name", "rawSpec": "^1.0.3", "spec": ">=1.0.3 <2.0.0", "type": "range" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/typpy" ] ], "_from": "function.name@^1.0.3", "_hasShrinkwrap": false, "_id": "function.name@1.0.12", "_location": "/function.name", "_nodeVersion": "10.15.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/function.name_1.0.12_1546531913428_0.06849856662555176" }, "_npmUser": { "name": "ionicabizau", "email": "bizauionica@gmail.com" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "function.name@^1.0.3", "scope": null, "escapedName": "function.name", "name": "function.name", "rawSpec": "^1.0.3", "spec": ">=1.0.3 <2.0.0", "type": "range" }, "_requiredBy": [ "/typpy" ], "_resolved": "https://registry.npmjs.org/function.name/-/function.name-1.0.12.tgz", "_shasum": "34eec84476d9fb67977924a4cdcb98ec85695726", "_shrinkwrap": null, "_spec": "function.name@^1.0.3", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/typpy", "author": { "name": "Ionică Bizău", "email": "bizauionica@gmail.com", "url": "https://ionicabizau.net" }, "blah": { "description": "If the name field is not accessible (usually this happens on Internet Explorer), it will be defined.", "documentation": "Usually, you will **not** use this as function but you will access the `name` field on the function directly." }, "bugs": { "url": "https://github.com/IonicaBizau/function.name/issues" }, "dependencies": { "noop6": "^1.0.1" }, "description": "Function name shim (especially for supporting function names in Internet Explorer).", "devDependencies": { "dist-it": "^2.0.1" }, "directories": {}, "dist": { "integrity": "sha512-C7Tu+rAFrWW5RjXqtKtXp2xOdCujq+4i8ZH3w0uz/xrYHBwXZrPt96x8cDAEHrIjeyEv/Jm6iDGyqupbaVQTlw==", "shasum": "34eec84476d9fb67977924a4cdcb98ec85695726", "tarball": "https://registry.npmjs.org/function.name/-/function.name-1.0.12.tgz", "fileCount": 5, "unpackedSize": 9711, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLjRKCRA9TVsSAnZWagAAziIP/izhPsBOYE0MkS2txQYX\nzB6XWFJVIo9eSj3vBhmXJSQjPUGxdlOBgk+VglKVisbW/7kuUTddGHFZf+IS\nbK5KuodDppb9DdpX26swJqWTdmpNYDNVxLDqi5lKIl71ZszQaiEs7T4WAQlX\n/mrD9CvD/Wgu54coEwtLTi7TLdXFMNxSl8akgpApY8Sqqv427vskEOQDSUEX\nraIL0W+XE9C+KJWR2Ub2QN7Mg/rjRDLwrba+4jR9KmRfpEuktp9BjDSSqMI4\nzR1jCvsCLfAhWFalIMS2dK3bgTGTpB6b919zLCwVtNh18pnklQo6czRYWKUa\nPFX1hhAzk5N0VXjG4A6pSZZplS7MTnUXT5E3ZsIFzDMeRQr4FyFGB8VPh+AT\nLCYsYd6AQtbb5UdkrDKWY1/VDv8lXYk0NISKqWYvM9V/0+dGz7OwZQ1vxB16\nCIgWTXj/49lZ8qSjOQES562P69VjRkxmWCO3nx2cEJdRSau0T4LkGWEH57Qe\nNdvr49pQAP7uTAlWOi5biA6e03PAKZQAg4vEBGizt3nSC9TmXyxMSDgL2bZj\nVwUzD70Sz0Fv56y92DuPmSMndJCf4SfX55AiqP16qvA51iaHEUk7l3Y+Mt7Q\nEuj6dR1as8C8U5anGIwn1gpWk0TfXmANz47hvQRT7dfg8qPQpxytihbwXbJM\ntk7u\r\n=eBEL\r\n-----END PGP SIGNATURE-----\r\n" }, "files": [ "bin/", "app/", "lib/", "dist/", "src/", "scripts/", "resources/", "menu/", "cli.js", "index.js", "bloggify.js", "bloggify.json", "bloggify/" ], "gitHead": "c4aa1127348c55b964dfcbd7d57ec80608d4bd93", "homepage": "https://github.com/IonicaBizau/function.name#readme", "keywords": [ "function", "name", "support", "for", "internet", "explorer" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "ionicabizau", "email": "bizauionica@gmail.com" } ], "name": "function.name", "optionalDependencies": {}, "readme": "<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->\n\n\n# function.name\n\n [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/function.name.svg)](https://www.npmjs.com/package/function.name) [![Downloads](https://img.shields.io/npm/dt/function.name.svg)](https://www.npmjs.com/package/function.name) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)\n\n<a href=\"https://www.buymeacoffee.com/H96WwChMy\" target=\"_blank\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\"></a>\n\n> Function name shim (especially for supporting function names in Internet Explorer).\n\nIf the name field is not accessible (usually this happens on Internet Explorer), it will be defined.\n\n## :cloud: Installation\n\n```sh\n# Using npm\nnpm install --save function.name\n\n# Using yarn\nyarn add function.name\n```\n\n\n## :clipboard: Example\n\n\n\n```js\nconst functionName = require(\"function.name\");\n\nfunction foo () {}\n\nconsole.log(functionName(foo));\n// => foo\n```\n\n\n\n## :question: Get Help\n\nThere are few ways to get help:\n\n 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.\n 2. For bug reports and feature requests, open issues. :bug:\n\n 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:\n\n\n\n## :memo: Documentation\n\n\n### `functionName(input)`\nGet the function name.\n\n#### Params\n\n- **Function** `input`: The input function.\n\n#### Return\n- **String** The function name.\n\n\n\nUsually, you will **not** use this as function but you will access the `name` field on the function directly.\n\n## :yum: How to contribute\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n\n## :sparkling_heart: Support my projects\n\nI open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,\nthis takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).\n\nHowever, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:\n\n\n - Starring and sharing the projects you like :rocket:\n - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:\n - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).\n - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`\n\n ![](https://i.imgur.com/z6OQI95.png)\n\n\nThanks! :heart:\n\n\n## :dizzy: Where is this library used?\nIf you are using this library in one of your projects, add it in this list. :sparkles:\n\n\n - [`typpy`](https://github.com/IonicaBizau/typpy)—A better typeof for JavaScript.\n\n## :scroll: License\n\n[MIT][license] © [Ionică Bizău][website]\n\n\n[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg\n[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg\n[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg\n[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg\n\n[patreon]: https://www.patreon.com/ionicabizau\n[amazon]: http://amzn.eu/hRo9sIZ\n[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW\n\n[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2016#license-mit\n[website]: https://ionicabizau.net\n[contributing]: /CONTRIBUTING.md\n[docs]: /DOCUMENTATION.md\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+ssh://git@github.com/IonicaBizau/function.name.git" }, "scripts": { "release": "dist-it lib/index.js function.name.js", "test": "echo \"Error: no test specified\" && exit 1" }, "version": "1.0.12" }