Skip to content
JS
Package

is-string-and-not-blank

3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.

v0.0.2, 2 Sept 2019MITCommonJSTypes: NoneUtility libraries
$ npm install is-string-and-not-blank

Key numbers

As of 25 Sept 2026
Weekly downloads
97.1k
-5% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v0.0.2
GitHub stars
5
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 210k (5 May 2026)Low 65.3k (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.

97,127 downloads last week, 482,126 in the last month. The 12-month change of -5% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.0.2, 2 Sept 20197 years ago
First published
-
Last push to GitHub
20 Feb 20202,408 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
30

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6.4.0
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (1)
is-string-blank
npm install is-string-and-not-blank
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-string-and-not-blank@0.0.2/
  • unpkghttps://unpkg.com/is-string-and-not-blank@0.0.2/
  • esm.shhttps://esm.sh/is-string-and-not-blank@0.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.