1.0.3 • Published 6 years ago
bs-locale-code v1.0.3
bs-locale-code
BuckleScript bindings for locale-code.
Installation
# with yarn
yarn add bs-locale-code locale-code
# with npm
npm install --save bs-locale-code local-codeIn your bsconfig.json, include "bs-locale-code" in the bs-dependencies.
Usage
open LocaleCodeRe;
// => Germany
let countryName = getCountryName("de-DE");