1.0.0 • Published 6 years ago
npmwithgit v1.0.0
npmwithgit
creating npm package, publishing with npm registry and connect to github
--package name
// Returns true if the input is either undefined, null, or empty, false otherwise
Usage
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
1.0.0
6 years ago