1.1.54 • Published 9 years ago
@flowio/reference-javascript v1.1.54
reference-javascript
The JavaScript lib for accessing the data provided by the reference api.
Provides static data for countries, currencies, languages and timezones.
Usage
Can be imported one of two ways:
import { countries } from '@flowio/reference-javascript';or
import reference from '@flowio/reference-javascript';
// use reference.countriesFor ES5:
var reference = require('@flowio/reference-javascript').default;API
Countries
find(q)
q- query - can be one of:- iso_3166_2 representation of the country, i.e, US
- iso_3166_3 representation of the country, i.e, USA
- the name of the country, i.e, United States
Currencies
find(q)
q- query - can be one of:- iso_4217_3 representation of the currency, i.e, USD
- the name of the currency, i.e, US Dollar
Languages
find(q)
q- query - can be one of:- iso_639_2 representation of the currency, i.e, en
- the name of the currency, i.e, English
Timezones
find(q)
q- query - can be one of:- offset of the timezone, i.e,
-240for Eastern Daylight Time - the name of the currency, i.e, America/New_York
- offset of the timezone, i.e,
1.1.54
9 years ago
1.1.53
9 years ago
1.1.52
9 years ago
1.1.51
9 years ago
1.1.50
9 years ago
1.1.49
9 years ago
1.1.48
9 years ago
1.1.44
9 years ago
1.1.43
9 years ago
1.1.42
9 years ago
1.1.40
9 years ago
1.1.38
9 years ago
1.1.37
9 years ago
1.1.36
9 years ago
1.1.35
9 years ago
1.1.33
10 years ago
1.1.45
10 years ago
1.1.30
10 years ago
1.1.28
10 years ago
1.1.26
10 years ago
1.1.18
10 years ago
1.1.16
10 years ago
1.1.5
10 years ago
1.1.4
10 years ago
1.1.2
10 years ago
1.1.0
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago