First Npm package created for testing purpose
Install the package using npm : npm install is-null-or-empty --save Then, require the package and use it: [Comment: To check if this usage is proper] var isNullOrEmpty = require('is-null-or-empty'); console.log(isNullOrEmpty("")); // true console.log(isNullOrEmpty("Hello World")); // false