
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
get-symbol-description
Advanced tools
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Gets the description of a Symbol. Handles Symbol()
vs Symbol('')
properly when possible.
var getSymbolDescription = require('get-symbol-description');
var assert = require('assert');
assert(getSymbolDescription(Symbol()) === undefined);
assert(getSymbolDescription(Symbol('')) === ''); // or `undefined`, if in an engine that lacks name inference from concise method
assert(getSymbolDescription(Symbol('foo')) === 'foo');
assert(getSymbolDescription(Symbol.iterator) === 'Symbol.iterator');
Simply clone the repo, npm install
, and run npm test
v1.1.0 - 2024-12-17
b957b65
bfbcae2
@ljharb/eslint-config
, auto-changelog
, es-value-fixtures
, object-inspect
, tape [
197ba80`](https://github.com/inspect-js/get-symbol-description/commit/197ba80ef87153e28f20ec353e8b926ddb145da0)call-bound
directly 9df4de4
call-bind
, get-intrinsic
44c1400
hasown
, tape
44e2264
aud
with npm audit
62d9414
call-bind
396ee27
cc4b9eb
FAQs
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
The npm package get-symbol-description receives a total of 22,602,130 weekly downloads. As such, get-symbol-description popularity was classified as popular.
We found that get-symbol-description demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.