lo-fi

1.0.0 • Public • Published

lo-fi

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 lo-fi --save

Then, require the package and use it like so:

var loFi = require('lo-fi');

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

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i lo-fi

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ianfireman