universal-validator
v1.0.0
Published
A string validation library for node
Downloads
125
Readme
universal-validator
A string validation library for node
Installation
npm install universal-validator --save
Usage
Javascript
var validator = require('universal-validator');
console.log(validator.IsNullOrEmpty(' '));
Output should be true
TypeScript
import * as validator from 'universal-validator';
console.log(validator.IsNullOrEmpty('Goose'))
Output should be false