is-string-blank

The fast way to check if a string is blank

MIT 2 个版本
安装
npm install is-string-blank
yarn add is-string-blank
pnpm add is-string-blank
bun add is-string-blank
README

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.

版本列表
1.0.1 2018-10-26
1.0.0 2018-10-25