is-string-blank

1.0.1 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i is-string-blank

      Weekly Downloads

      275,224

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      3.55 kB

      Total Files

      4

      Last publish

      Collaborators

      • archmoj