country-codes-library 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ After installing the Country Codes Library, you can use it in your project to re
|
|
|
19
19
|
## JavaScript Example
|
|
20
20
|
|
|
21
21
|
```js
|
|
22
|
-
const { TwoLetterISORegionCode, ThreeLetterISORegionCode, CountryCallingCodes, USAStateCode, CanadaProvinceCode, ChinaProvinceCode, CountryCurrencyCodes, CountryCurrencySymbols } = require('country-codes-
|
|
22
|
+
const { TwoLetterISORegionCode, ThreeLetterISORegionCode, CountryCallingCodes, USAStateCode, CanadaProvinceCode, ChinaProvinceCode, CountryCurrencyCodes, CountryCurrencySymbols } = require('country-codes-library');
|
|
23
23
|
|
|
24
24
|
console.log(`USA's Two Letter Country Code is ${TwoLetterISORegionCode.UnitedStates}`);
|
|
25
25
|
console.log(`India's Three Letter Country Code is ${ThreeLetterISORegionCode.India}`);
|
|
@@ -34,7 +34,7 @@ console.log(`Japan's Currency Symbol is ${CountryCurrencySymbols.Japan}`);
|
|
|
34
34
|
## TypeScript Example
|
|
35
35
|
|
|
36
36
|
```ts
|
|
37
|
-
import { TwoLetterISORegionCode, ThreeLetterISORegionCode, CountryCallingCodes, USAStateCode, CanadaProvinceCode, ChinaProvinceCode, CountryCurrencyCodes, CountryCurrencySymbols } from 'country-codes-
|
|
37
|
+
import { TwoLetterISORegionCode, ThreeLetterISORegionCode, CountryCallingCodes, USAStateCode, CanadaProvinceCode, ChinaProvinceCode, CountryCurrencyCodes, CountryCurrencySymbols } from 'country-codes-library';
|
|
38
38
|
|
|
39
39
|
console.log(`USA's Two Letter Country Code is ${TwoLetterISORegionCode.UnitedStates}`);
|
|
40
40
|
console.log(`India's Three Letter Country Code is ${ThreeLetterISORegionCode.India}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "country-codes-library",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "The Country Code Library provides a collection of two-letter and three-letter country codes according to the ISO 3166-1 standard, as well as it provides USA, China and Canada Province codes (State codes / adminstrative division codes). In addition, it includes telephone calling codes, currency codes, currency Symbols for countries across the world.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|