Package Exports
- shortdate
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (shortdate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Shortdate

Get short date. For browser and node.
Install
npm i shortdateHow to use?
shortdate uses arguments:
date(optional)options(optional):sep- separatororder- "big", "middle", "little" (endian types);
var shortdate = require('shortdate');
shortdate();
// returns
'2015.01.08'
shortdate(new Date('9-9'));
// returns
'2001.09.09'
shortdate(new Date(), {
sep: '/'
});
// returns
'2016/02/20'
shortdate(new Date(), {
order: 'little'
});
// returns
'20.02.2016'License
MIT