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.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/is-string-and-not-blank@0.0.2/ - unpkg
https://unpkg.com/is-string-and-not-blank@0.0.2/ - esm.sh
https://esm.sh/is-string-and-not-blank@0.0.2
Indexability: Indexed.