Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

get-symbol-description

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

get-symbol-description

Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.

    1.0.0latest

Version published
Maintainers
1
Weekly downloads
18,539,728
decreased by-12.74%

Weekly downloads

Changelog

Source

v1.0.0 - 2021-08-17

Commits

Readme

Source

get-symbol-description Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Gets the description of a Symbol. Handles Symbol() vs Symbol('') properly when possible.

Example

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');

Tests

Simply clone the repo, npm install, and run npm test

Keywords

FAQs

What is get-symbol-description?

Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.

Is get-symbol-description popular?

The npm package get-symbol-description receives a total of 14,847,468 weekly downloads. As such, get-symbol-description popularity was classified as popular.

Is get-symbol-description well maintained?

We found that get-symbol-description demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 17 Aug 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc