0.1.0 • Published 9 years ago

@barryels/is-null-or-empty v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

is-null-or-empty

Build Status

A simple null, undefined or empty string checker.

Mostly using this project to test out tape, covert and npm scoped publishing

Usage

First, install the package using npm:

npm install is-null-or-empty --save

Then, require the package and use it like so:

var isNullOrEmpty = require('is-null-or-empty');

console.log(isNullOrEmpty("")); // true
console.log(isNullOrEmpty(null)); // true
console.log(isNullOrEmpty(undefined)); // true

console.log(isNullOrEmpty("Hello World")); // false
0.1.0

9 years ago