2.2.1 • Published 4 years ago

date-tool v2.2.1

Weekly downloads
5
License
LGPL-3.0
Repository
github
Last release
4 years ago

date-tool

Build Status Dependencies Development Dependencies

npm

Import the parts you need:

import { getDateString } from 'date-tool';

Functions

getDateString

getDateString() → String

Formats the current date in a custom format. For example: 2 Feb 2015

getIsoDateString

getIsoDateString() → String

Formats the current date as per ISO 8601. For example: 2015-02-05

throttle

throttle(func, wait[, options]) → Function

debounce

debounce(fn, wait[, hash]) → Function

Contributing

Download source and compile:

git clone git@github.com:JannesMeyer/date-tool.git
yarn

Compile and watch for file changes:

yarn start

Run tests:

yarn test
2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago