# is-string-blank

> The fast way to check if a string is blank

Latest version **1.0.1** (published 2018-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-string-blank
pnpm add is-string-blank
yarn add is-string-blank
bun add is-string-blank
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-26 |
| First published | 2018-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Johnson |
| Maintainers | archmoj |
| Keywords | string, blank, javascript, fast |

## Links

- npm: https://www.npmjs.com/package/is-string-blank
- Repository: https://github.com/plotly/is-string-blank
- Homepage: https://github.com/plotly/is-string-blank#readme
- Issues: https://github.com/plotly/is-string-blank/issues
- npm.io page: https://npm.io/package/is-string-blank

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-10-26
- 1.0.0 — 2018-10-25

## README

# is-string-blank

The fast way to check if a JS string is blank?

### Install

```
npm install is-string-blank
```

### API

```js
var isStringBlank = require('is-string-blank');

isStringBlank(/* any JS object */);
```

### Why?

In [plotly](https://plot.ly/)'s javascript graphing library
[plotly.js](https://plot.ly/javascript/) blank strings should be identified to be ignored e.g. by webgl. 
`is-string-blank` is significantly simplified and sped up

### Author

Alex Johnson | https://github.com/alexcjohnson

### License

Copyright (c) 2015 Alex Johnson Released under the MIT license.

---
_Source: https://npm.io/package/is-string-blank · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
