1.0.1 • Published 6 years ago

safe-ops v1.0.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
6 years ago

Safe-ops

The set of functions for safe operation in js

How to install

    npm install safe-ops

Usage

isEmpty(string)

Checks string for null, undefined and ''

regExp(text, flags)

Safe create RegExp object from text. Special symbols will be masked.

compare(source, fobj)

Compares source object with fields from fobj; if source object contains all fields from fobj with same values when returns true, otherwise returns false;

1.0.1

6 years ago

1.0.0

6 years ago