Package
is-string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 67.9m
- +72% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 1 year ago
- v1.1.1
- GitHub stars
- 22
- 5 forks
- Open issues / PRs
- 2 / 0
- Contributors
- 1
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
67,904,833 downloads last week, 325,697,391 in the last month. The 12-month change of +72% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 09 in total
- Latest version
- 1.1.1, 16 Dec 20241 year ago
- First published
- 29 Jan 2015
- Last push to GitHub
- 30 Dec 2025269 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 1,422
Major versions
- v1 first release 1.0.0, 29 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 1.1.1 | 16 Dec 2024 |
| 1.1.0 | 2 Dec 2024 |
| 1.0.7 | 6 Aug 2021 |
| 1.0.6 | 8 May 2021 |
| 1.0.5 | 19 Dec 2019 |
| 1.0.4 | 30 Jan 2015 |
| 1.0.2 | 29 Jan 2015 |
| 1.0.1 | 29 Jan 2015 |
| 1.0.0 | 29 Jan 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 23 kB
- Dependencies (2)
call-boundhas-tostringtag
npm install is-string- jsDelivr
https://cdn.jsdelivr.net/npm/is-string@1.1.1/ - unpkg
https://unpkg.com/is-string@1.1.1/ - esm.sh
https://esm.sh/is-string@1.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| underscore.string | 2.4m | - | 4 years ago | CommonJS | - |
Indexability: Indexed.