Socket
Socket
Sign inDemoInstall

well-known-symbols

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

well-known-symbols


Version published
Weekly downloads
386K
decreased by-23.14%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

v2.0.0 - 2018-09-16

Commits

Readme

Source

well-known-symbols

Check whether a symbol is well-known.

Requires Node.js 6 or above. Note that not all Node.js versions support the same well-known symbols.

Installation

$ npm install --save well-known-symbols

Usage

const wellKnownSymbols = require('well-known-symbols')

wellKnownSymbols.isWellKnown(Symbol.iterator) // true
wellKnownSymbols.isWellKnown(Symbol()) // false

wellKnownSymbols.getLabel(Symbol.iterator) // 'Symbol.iterator'
wellKnownSymbols.getLabel(Symbol()) // undefined

Keywords

FAQs

Last updated on 16 Sep 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc