@tmcwilliam/date-formatter
v0.1.0
Published
A simple date formatter
Downloads
2
Readme
Date Formatter
A small library that formats timestamps
Installation
npm install @tmcwilliam/date-formatter
ES6 Usage
import { toMicroDate } from '@tmcwilliam/date-formatter';
const aug9 = new Date(1439096900000);
const formattedDate = toMicroDate(aug9);
console.log(formattedDate);
Output should be 8/9/2015
Tests
npm test