{"_id":"get-symbol-description","_rev":"3-b34e7f1010cb3cc95fea0b5fbf8ccce8","name":"get-symbol-description","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"get-symbol-description","version":"1.0.0","description":"Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.","main":"index.js","exports":{".":"./index.js","./getInferredName":"./getInferredName.js","./package.json":"./package.json"},"scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=.js,.mjs .","postlint":"evalmd README.md","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/inspect-js/get-symbol-description.git"},"keywords":["symbol","ecmascript","javascript","description"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/get-symbol-description/issues"},"homepage":"https://github.com/inspect-js/get-symbol-description#readme","dependencies":{"call-bind":"^1.0.2","get-intrinsic":"^1.1.1"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es-value-fixtures":"^1.2.1","eslint":"^7.32.0","evalmd":"^0.0.19","foreach":"^2.0.5","has":"^1.0.3","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"6579bf3c250bc1cf12fec4900956ac7f08f34a41","_id":"get-symbol-description@1.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==","shasum":"7fdb81c900101fbd564dd5f1a30af5aadc1e58d6","tarball":"https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz","fileCount":11,"unpackedSize":10267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHDaNCRA9TVsSAnZWagAAfWEP/00U1EsI2AHOXvCl88Ak\nQgA5xv3bfYotj0xFTn5W3KSKJMGkyBZoo4T58jjk4WrsOWePyucX3V+OSSgr\nTrQTqYhAFhBFXFrMo4H86CI5Ug7BYH8KT1GJ2HVkGPwe2ucTc4/01KZfDFs9\nJGETau1FDY9asaHW9NdexEkhYAH0eCg+ltN/YJoAFpCIX/aWt8iFVItlqVIN\nuDC7schGia/F6ql/5PhSEZQ81UCUe2e47geYR+suTpDA+l6tvjJGgr6ww8n/\naypkMRuEelDi0fpDSRQ95rkrerZBoEYdFaGypXHrZ/0H7LmcOfqiXcyJzODT\nsvdEuMWiN+77+uPzpYlrkym6cBRpXENlTIQqynAAIv/VhMyOmy0J+W4ZC2ny\nUaH6fNcjSacbm9+z4gfBZFEtCIM+vbG1BPEWV/HJ5Ez4RAcdBT8ZkJL6IUaP\nFD49BXQematE1mStpT6pVgLAcY6loiq1rmRgTwkqO7eOggd62NA/Qlp98bTd\n/q7gDLLchDfbbEo1IpbgcZjv07UjIY70nywPrL0McrzsuHmr36WNr942KLqD\npv/L50zdbPX81xpSkZDNFhf8bQsZ+40VMbdEztRMcn+5HruPkOq8mbx8kLDK\nNcaRFg/2h3sT23FDroOwdK7nHrYFGzmXdj3nJ0mbp2U0ryGAnF+JlJl2c+nK\nbg7e\r\n=KxuG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHPvNK7/Wf7OcqrfwwU1uAipNuvYUzZg6o+H1YXTY4VwIhAPo3V2JqJTZLpmpDHgAW0AnyA8n3bhHPbY/d0+BH4u5U"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-symbol-description_1.0.0_1629238925076_0.7988771138871933"},"_hasShrinkwrap":false},"1.0.1":{"name":"get-symbol-description","version":"1.0.1","description":"Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.","main":"index.js","exports":{".":"./index.js","./getInferredName":"./getInferredName.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=.js,.mjs .","postlint":"evalmd README.md","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/inspect-js/get-symbol-description.git"},"keywords":["symbol","ecmascript","javascript","description"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/get-symbol-description/issues"},"homepage":"https://github.com/inspect-js/get-symbol-description#readme","dependencies":{"call-bind":"^1.0.5","es-errors":"^1.3.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","hasown":"^2.0.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"get-symbol-description@1.0.1","gitHead":"d07da203072e439509e5ffe00f55c1fc556a38fd","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-KmuibvwbWaM4BHcBRYwJfZ1JxyJeBwB8ct9YYu67SvYdbEIlcQ2e56dHxfbobqW38GXo8/zDFqJeGtHiVbWyQw==","shasum":"c0de911bfaa9ea8da52b5e702d2b3b51b8791ec4","tarball":"https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.1.tgz","fileCount":10,"unpackedSize":14016,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICGi9Ok/sNAxgsRjg5Djhlux/dFuVNLPIMTd+FYNJbYpAiEA7RuaIp2VVDitDrgTXqHagCF8nULHy40vkOymVS0Aqmw="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-symbol-description_1.0.1_1707185231612_0.16619720370150604"},"_hasShrinkwrap":false},"1.0.2":{"name":"get-symbol-description","version":"1.0.2","description":"Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.","main":"index.js","exports":{".":"./index.js","./getInferredName":"./getInferredName.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=.js,.mjs .","postlint":"evalmd README.md","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/inspect-js/get-symbol-description.git"},"keywords":["symbol","ecmascript","javascript","description"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/get-symbol-description/issues"},"homepage":"https://github.com/inspect-js/get-symbol-description#readme","dependencies":{"call-bind":"^1.0.5","es-errors":"^1.3.0","get-intrinsic":"^1.2.4"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","hasown":"^2.0.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"get-symbol-description@1.0.2","gitHead":"b060de4c0b555e13ecd8463070db337702c7bd74","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==","shasum":"533744d5aa20aca4e079c8e5daf7fd44202821f5","tarball":"https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz","fileCount":10,"unpackedSize":14268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjCJ3J6EOz0MNV0qjvnWz4REgjLnPF3ZsCBrhRZdGvKAiEA89knrujsU3RufLLZSFlS42viBI4B2uwvYufN4+Y9te0="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-symbol-description_1.0.2_1707344531871_0.9376239942853508"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-17T22:22:05.076Z","1.0.0":"2021-08-17T22:22:05.245Z","modified":"2024-02-07T22:22:12.265Z","1.0.1":"2024-02-06T02:07:11.770Z","1.0.2":"2024-02-07T22:22:12.082Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.","homepage":"https://github.com/inspect-js/get-symbol-description#readme","keywords":["symbol","ecmascript","javascript","description"],"repository":{"type":"git","url":"git+https://github.com/inspect-js/get-symbol-description.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/inspect-js/get-symbol-description/issues"},"license":"MIT","readme":"# get-symbol-description <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nGets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.\n\n## Example\n\n```js\nvar getSymbolDescription = require('get-symbol-description');\nvar assert = require('assert');\n\nassert(getSymbolDescription(Symbol()) === undefined);\nassert(getSymbolDescription(Symbol('')) === ''); // or `undefined`, if in an engine that lacks name inference from concise method\nassert(getSymbolDescription(Symbol('foo')) === 'foo');\nassert(getSymbolDescription(Symbol.iterator) === 'Symbol.iterator');\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/get-symbol-description\n[2]: https://versionbadg.es/inspect-js/get-symbol-description.svg\n[5]: https://david-dm.org/inspect-js/get-symbol-description.svg\n[6]: https://david-dm.org/inspect-js/get-symbol-description\n[7]: https://david-dm.org/inspect-js/get-symbol-description/dev-status.svg\n[8]: https://david-dm.org/inspect-js/get-symbol-description#info=devDependencies\n[11]: https://nodei.co/npm/get-symbol-description.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/get-symbol-description.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/get-symbol-description.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=get-symbol-description\n[codecov-image]: https://codecov.io/gh/inspect-js/get-symbol-description/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/get-symbol-description/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/get-symbol-description\n[actions-url]: https://github.com/inspect-js/get-symbol-description/actions\n","readmeFilename":"README.md"}