Novice Prime Minister

    country-province-data

    1.0.0 • Public • Published

    Country and Province Data

    Method

    var countryProvinceData = require("country-province-data")

    Requiring the module gives you an array of countries with the information you need for an address form.

    Data Format

    Each country object contains:

    • name
    • code
    • label
    • zip_label
    • zip_required
    • province_label
    • provinces
    • province_labels
    • province_codes
    • province_alternate_names

    install

    With npm do:

    npm install country-province-data
    

    License

    MIT

    Install

    npm i country-province-data

    DownloadsWeekly Downloads

    170

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    197 kB

    Total Files

    4

    Last publish

    Collaborators

    • johnbendfeldt