1.0.3 • Published 5 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-code
In your bsconfig.json
, include "bs-locale-code"
in the bs-dependencies
.
Usage
open LocaleCodeRe;
// => Germany
let countryName = getCountryName("de-DE");