UNPKG

javascript-time-ago

Version:

Localized relative date/time formatting

14 lines (11 loc) 685 B
'use strict' // This file is 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 // These two legacy exports are deprecated. var locale = require('./commonjs/locale.js') exports.intlDateTimeFormatSupported = locale.intlDateTimeFormatSupported exports.intlDateTimeFormatSupportedLocale = locale.intlDateTimeFormatSupportedLocale