rittenhop-dev/versions/5.94.2/node_modules/is-string-blank
2024-09-23 19:40:12 -04:00
..
index.js first commit 2024-09-23 19:40:12 -04:00
LICENSE first commit 2024-09-23 19:40:12 -04:00
package.json first commit 2024-09-23 19:40:12 -04:00
README.md first commit 2024-09-23 19:40:12 -04:00

is-string-blank

The fast way to check if a JS string is blank?

Install

npm install is-string-blank

API

var isStringBlank = require('is-string-blank');

isStringBlank(/* any JS object */);

Why?

In plotly's javascript graphing library plotly.js 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.