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

has-tostringtag

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

has-tostringtag

Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.

    1.0.0latest

Version published
Maintainers
1
Weekly downloads
23,513,886
decreased by-0.82%

Weekly downloads

Changelog

Source

v1.0.0 - 2021-08-05

Commits

Readme

Source

has-tostringtag Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has Symbol.toStringTag support. Supports spec, or shams.

Example

var hasSymbolToStringTag = require('has-tostringtag'); hasSymbolToStringTag() === true; // if the environment has native Symbol.toStringTag support. Not polyfillable, not forgeable. var hasSymbolToStringTagKinda = require('has-tostringtag/shams'); hasSymbolToStringTagKinda() === true; // if the environment has a Symbol.toStringTag sham that mostly follows the spec.

Supported Symbol shams

Tests

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

Keywords

FAQs

What is has-tostringtag?

Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.

Is has-tostringtag popular?

The npm package has-tostringtag receives a total of 20,439,405 weekly downloads. As such, has-tostringtag popularity was classified as popular.

Is has-tostringtag well maintained?

We found that has-tostringtag 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 05 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