Skip to content

Commit ad2513e

Browse files
committed
Switch to CommonJS syntax
1 parent 971b018 commit ad2513e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/lib/usa_location_names.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
// Mapping of lowercase full US state names to two-letter abbreviations
4-
export const usaLocationList = {
4+
const usaLocationList = {
55
alabama: 'AL',
66
alaska: 'AK',
77
arizona: 'AZ',
@@ -57,4 +57,9 @@ export const usaLocationList = {
5757
wyoming: 'WY'
5858
};
5959

60-
export const usaLocationAbbreviations = new Set(Object.values(usaLocationList));
60+
const usaLocationAbbreviations = new Set(Object.values(usaLocationList));
61+
62+
module.exports = {
63+
usaLocationAbbreviations,
64+
usaLocationList
65+
};

0 commit comments

Comments
 (0)