Import the parts you need:
import { getDateString } from 'date-tool';
getDateString() → String
Formats the current date in a custom format. For example: 2 Feb 2015
getIsoDateString() → String
Formats the current date as per ISO 8601. For example: 2015-02-05
throttle(func, wait[, options]) → Function
debounce(fn, wait[, hash]) → Function
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