Syntax import ordinal from "ordinal"; import {days, months} from "date-names"; export function formatDate(date, format) { /* ... */ } Default export export default ["Winter", "Spring", "Summer", "Autumn"];