Skip to content

Commit

Permalink
a better export
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Dec 18, 2023
1 parent 265c77e commit a4d584c
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
import { getAsKey, getKeyValue } from "./asKeys";
import { format } from "./format";
import { getAll } from "./getAll";
import { getAllLanguageCodesByISO, getAllLanguagesByISO } from "./getAllBy";
import { getCountriesByISO, getCountriesByLanguage, getLanguagesByISO } from "./getBy";
import { getCountry, getCountryData } from "./getCountry";
import { getLanguage, getLanguageData } from "./getLanguage";
import { isoTL } from "./iso";
import { isValidCountry, isValidLanguage } from "./validation";
export { format } from "./format";
export { isValidCountry, isValidLanguage } from "./validation";
export { isoTL } from "./iso";
export { getAsKey, getKeyValue } from "./asKeys";
export { getAll } from "./getAll";
export { getAllLanguageCodesByISO, getAllLanguagesByISO } from "./getAllBy";
export { getCountriesByISO, getCountriesByLanguage, getLanguagesByISO } from "./getBy";
export { getCountry, getCountryData } from "./getCountry";
export { getLanguage, getLanguageData } from "./getLanguage";


export {
format,
isoTL,
isValidCountry,
getCountry,
getCountryData,
getCountriesByISO,
isValidLanguage,
getLanguage, //new
getLanguageData, //new
getLanguagesByISO, //new
getCountriesByLanguage,
getAsKey,
getKeyValue,
getAll,
getAllLanguagesByISO,
getAllLanguageCodesByISO,
}

0 comments on commit a4d584c

Please sign in to comment.