Skip to content
JS
Package

is-string

Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

v1.1.1, 16 Dec 2024MITCommonJSTypes: BundledStrings and text
$ npm install is-string

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
025m50m75m100mSept 2025Mar 2026Sept 2026High 89.4m (25 Aug 2026)Low 26.5m (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.

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

  1. v1 first release 1.0.0, 29 Jan 2015

Recent releases

VersionPublished
1.1.116 Dec 2024
1.1.02 Dec 2024
1.0.76 Aug 2021
1.0.68 May 2021
1.0.519 Dec 2019
1.0.430 Jan 2015
1.0.229 Jan 2015
1.0.129 Jan 2015
1.0.029 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-string@1.1.1/
  • unpkghttps://unpkg.com/is-string@1.1.1/
  • esm.shhttps://esm.sh/is-string@1.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
underscore.string2.4m-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.