@barryels/is-null-or-empty

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @barryels/is-null-or-empty

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • barryels