UNPKG

javascript-time-ago

Version:

Localized relative date/time formatting

14 lines (10 loc) 642 B
'use strict' // This file id deprecated. // It's the same as `index.cjs`, just with an added `.js` file extension. // It only exists for compatibility with the software that doesn't like `*.cjs` file extension. // https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292 exports = module.exports = require('./commonjs/TimeAgo.js').default exports['default'] = require('./commonjs/TimeAgo.js').default var locale = require('./commonjs/locale.js') exports.intlDateTimeFormatSupported = locale.intlDateTimeFormatSupported exports.intlDateTimeFormatSupportedLocale = locale.intlDateTimeFormatSupportedLocale