Determine if the JS environment has
Symbol.toStringTag support. Supports spec, or shams.
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.
Simply clone the repo,
npm install, and run
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
The npm package has-tostringtag receives a total of 22,914,002 weekly downloads. As such, has-tostringtag popularity was classified as popular.
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.
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.