{"name":"es-set-tostringtag","version":"2.0.3","description":"A helper to optimistically set Symbol.toStringTag, when possible.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"tsc -p .","pretest":"npm run lint","tests-only":"tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/es-set-tostringtag.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/es-set-tostringtag/issues"},"homepage":"https://github.com/es-shims/es-set-tostringtag#readme","devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/get-intrinsic":"^1.2.2","@types/has-symbols":"^1.0.2","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.1","safe-publish-latest":"^2.0.0","tape":"^5.7.5","typescript":"^5.4.0-dev.20240220"},"dependencies":{"get-intrinsic":"^1.2.4","has-tostringtag":"^1.0.2","hasown":"^2.0.1"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"es-set-tostringtag@2.0.3","gitHead":"a06f70c9626850d7ee80516b0fc98b3d9521473b","types":"./index.d.ts","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==","shasum":"8bb60f0a440c2e4281962428438d58545af39777","tarball":"http://registry-npm.ywwl.com/es-set-tostringtag/download/es-set-tostringtag-2.0.3.tgz","fileCount":9,"unpackedSize":13855,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS3PfjKv2wpwZmR1FLXjq4VKJlbV/bzjDog+sSW7gkvAIgQeXu664upJOOI63INe2TIVsB0z3K2DtrEHwkcwe4yDo="}],"size":5555,"noattachment":false,"key":"/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-set-tostringtag_2.0.3_1708460747884_0.02201679593293626"},"_hasShrinkwrap":false,"readme":"# es-set-tostringtag <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nA helper to optimistically set Symbol.toStringTag, when possible.\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar setToStringTag = require('es-set-tostringtag');\n\nvar obj = {};\n\nassert.equal(Object.prototype.toString.call(obj), '[object Object]');\n\nsetToStringTag(obj, 'tagged!');\n\nassert.equal(Object.prototype.toString.call(obj), '[object tagged!]');\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/es-set-tostringtag\n[npm-version-svg]: https://versionbadg.es/es-shims/es-set-tostringtag.svg\n[deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag.svg\n[deps-url]: https://david-dm.org/es-shims/es-set-tostringtag\n[dev-deps-svg]: https://david-dm.org/es-shims/es-set-tostringtag/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/es-set-tostringtag#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/es-set-tostringtag.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/es-set-tostringtag.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/es-set-tostringtag.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=es-set-tostringtag\n[codecov-image]: https://codecov.io/gh/es-shims/es-set-tostringtag/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/es-set-tostringtag/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/es-set-tostringtag\n[actions-url]: https://github.com/es-shims/es-set-tostringtag/actions\n","publish_time":1708460748090,"_cnpm_publish_time":1708460748090,"dist-tags":{"latest":"2.1.0"}}