{"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":"http://registry-npm.ywwl.com/get-symbol-description/download/get-symbol-description-1.0.2.tgz","fileCount":10,"unpackedSize":14268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjCJ3J6EOz0MNV0qjvnWz4REgjLnPF3ZsCBrhRZdGvKAiEA89knrujsU3RufLLZSFlS42viBI4B2uwvYufN4+Y9te0="}],"size":5524,"noattachment":false,"key":"/get-symbol-description/-/get-symbol-description-1.0.2.tgz"},"_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,"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","publish_time":1707344532082,"_cnpm_publish_time":1707344532082,"dist-tags":{"latest":"1.1.0"}}