1.0.5 • Published 7 years ago

test-null-or-undefined v1.0.5

Weekly downloads
30
License
-
Repository
github
Last release
7 years ago

test-null-or-undefined

A Node.js package that checks whether a given string is null or empty. A basic package for an npm publish tutorial.

Usage

First, install the package using npm:

npm install test-null-or-undefined --save

Then, require the package and use it like so:

var isNullOrEmpty = require('test-null-or-undefined');

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

console.log(isNullOrEmpty("Hello World")); // false
#test-null-or-undefined
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago