Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
/ is-string-blank Public archive

The fast way to check if a string is blank

License

Notifications You must be signed in to change notification settings

plotly/is-string-blank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The fast way to check if a string is blank

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published