0.1.8 • Published 6 years ago

my-util-helper v0.1.8

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

My Util Helper

A small library that contains some util methods

Installation

npm install my-util-helper

Usage

var myutil=require('my-util-helper')

var isnull=myutil.nullCheck("thy45h56yh"))

output => false

var addDays=myutil.addDays("2018-10-04",20)

output => 2018-10-24

var subDays=myutil.subDays("2018-10-24",20)

output => 2018-10-04

some more methods ...

checkInbetween (fromDate, toDate,checkDate) => boolean

formatDate (strDate, dateFormat) => Date

Tests

npm test

Contributing

Lint and test your code.

Contributter

K venkata Charan