Skip to content
JS
Package

has-tostringtag

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

v1.0.2, 1 Feb 2024MITCommonJSTypes: Bundled
$ npm install has-tostringtag

Key numbers

As of 25 Sept 2026
Weekly downloads
113.4m
+79% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v1.0.2
GitHub stars
5
3 forks
Open issues / PRs
1 / 0
Contributors
1
Commits, last 52 weeks
11

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150m200mSept 2025Mar 2026Sept 2026High 153.3m (25 Aug 2026)Low 45.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

113,440,067 downloads last week, 526,262,577 in the last month. The 12-month change of +79% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
03 in total
Latest version
1.0.2, 1 Feb 20242 years ago
First published
5 Aug 2021
Last push to GitHub
25 Apr 2026152 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
11
Dependents on npm
1,219

Major versions

  1. v1 first release 1.0.0, 5 Aug 2021

Recent releases

VersionPublished
1.0.21 Feb 2024
1.0.11 Feb 2024
1.0.05 Aug 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (1)
has-symbols
npm install has-tostringtag
  • jsDelivrhttps://cdn.jsdelivr.net/npm/has-tostringtag@1.0.2/
  • unpkghttps://unpkg.com/has-tostringtag@1.0.2/
  • esm.shhttps://esm.sh/has-tostringtag@1.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.