Indicate if a string is null or white space Installation npm install --save isNullOrWhiteSpace Example Usage import isNullOrWhiteSpace from 'isnullorwhitespace'; isNullOrWhiteSpace('foo'); // return false isNullOrWhiteSpace(''); // return true