Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

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
21,843,484
increased by0.83%

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 17,910,028 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. It has 1 open source maintainer collaborating on the project.

Last updated on 05 Aug 2021
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