{"_id":"es-set-tostringtag","_rev":"305280","name":"es-set-tostringtag","description":"A helper to optimistically set Symbol.toStringTag, when possible.","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-02-17T15:45:11.000Z","created":"2022-12-21T17:47:03.974Z","2.0.2":"2023-10-21T05:33:03.048Z","2.0.1":"2023-01-05T19:03:31.354Z","2.0.0":"2022-12-21T20:30:13.213Z","1.0.0":"2022-12-21T17:47:03.974Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/es-shims/es-set-tostringtag.git"},"versions":{"2.0.2":{"name":"es-set-tostringtag","version":"2.0.2","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 .","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","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","safe-publish-latest":"^2.0.0","tape":"^5.7.2"},"dependencies":{"get-intrinsic":"^1.2.2","has-tostringtag":"^1.0.0","hasown":"^2.0.0"},"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.2","gitHead":"4906d498e33fd1a41c1d29295a0bb15ed9babdfd","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"shasum":"11f7cc9f63376930a5f20be4915834f4bc74f9c9","size":3943,"noattachment":false,"key":"/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/es-set-tostringtag/download/es-set-tostringtag-2.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-set-tostringtag_2.0.2_1697866382771_0.3806135199461511"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-21T05:33:03.048Z","publish_time":1697866383048,"_source_registry_name":"default","_cnpm_publish_time":1697866383048},"2.0.1":{"name":"es-set-tostringtag","version":"2.0.1","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 .","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.0.1","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"dependencies":{"get-intrinsic":"^1.1.3","has":"^1.0.3","has-tostringtag":"^1.0.0"},"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"]},"gitHead":"3cb0d8ae33b2982c8244648a412f9af70a720bb2","_id":"es-set-tostringtag@2.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"338d502f6f674301d710b80c8592de8a15f09cd8","size":3717,"noattachment":false,"key":"/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/es-set-tostringtag/download/es-set-tostringtag-2.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-set-tostringtag_2.0.1_1672945411198_0.48019899205493877"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-05T19:36:21.486Z","publish_time":1672945411354,"_cnpm_publish_time":1672945411354},"2.0.0":{"name":"es-set-tostringtag","version":"2.0.0","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 .","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.0.0","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"dependencies":{"get-intrinsic":"^1.1.3","has-tostringtag":"^1.0.0"},"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"]},"gitHead":"ace875d92ba9b19413dbb9949cec1fd7f174b25c","_id":"es-set-tostringtag@2.0.0","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"b33fdef554fb35a264fe022c1f095f1f2022fa85","size":3593,"noattachment":false,"key":"/es-set-tostringtag/-/es-set-tostringtag-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/es-set-tostringtag/download/es-set-tostringtag-2.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-set-tostringtag_2.0.0_1671654613039_0.9622165880115114"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T20:30:29.052Z","publish_time":1671654613213,"_cnpm_publish_time":1671654613213},"1.0.0":{"name":"es-set-tostringtag","version":"1.0.0","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 .","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.0.0","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"dependencies":{"get-intrinsic":"^1.1.3","has-tostringtag":"^1.0.0"},"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"]},"gitHead":"17812b5ed7c033e06a593e3cdeb88177ff6ab3df","_id":"es-set-tostringtag@1.0.0","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"5f073226190bb4684e4d6f945a5ea90e7aff9283","size":3227,"noattachment":false,"key":"/es-set-tostringtag/-/es-set-tostringtag-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/es-set-tostringtag/download/es-set-tostringtag-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-set-tostringtag_1.0.0_1671644823806_0.6180371947975349"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T17:52:54.251Z","publish_time":1671644823974,"_cnpm_publish_time":1671644823974}},"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","_attachments":{},"homepage":"https://github.com/es-shims/es-set-tostringtag#readme","bugs":{"url":"https://github.com/es-shims/es-set-tostringtag/issues"},"license":"MIT"}