1.0.2 • Published 5 years ago

npmpckg v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

npmpckg

A Node.js package that checks whether a given string is having any white-spaces or not. A basic package for an npm publish tutorial.

Usage

First, install the package using npm:

npm install npmpckg --save

Then, require the package and use it like so:

var npmpckg = require('npmpckg');

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

console.log(npmpckg("Hello World")); // false