Wondering what’s next for npm?Check out our public roadmap! »

    nepal_political

    1.2.8 • Public • Published

    nepal_political

    Logo

    npm version CI Thank

    A mini 24.7KB npm package that contains all the political/division information about Nepal. Check Size

    No any external dependicies.

    Usage

    Install via npm

    npm i nepal_political

    Import Module in your project

    const {Nepal} = require('nepal_political');
    or
    import {Nepal} from 'nepal_political');

    There is interactive GIS Based Website Developed by the goverment of Nepal. Check Here

    Simple Usage Documentation

    Districts


    Get all districts in Nepal

    Nepal.District()

    Get all districts Name in Nepali

    Nepal.DistrictNepali()

    Get all districts in Gandaki Province

    Nepal.DistrictByProvince('Gandaki')

    Get all districts Name in Nepali in Gandaki Province

    Nepal.DistrictNepaliByProvince('Gandaki')

    Caution while using Province Name

    All the name of province
    Nepal.Province()
    Use the name of province as given by the above method.
    • 'Province No. 1'
    • 'Province No. 2'
    • 'Province No. 3'
    • 'Gandaki'
    • 'Province No. 5'
    • 'Karnali'
    • 'Sudurpashchim'

    Get Headquarters of District

    Nepal.DistrictHeadquarters('Kaski')

    Metropolitan


    Get all Metropolitan in Nepal

    Nepal.Metro()

    Get all Metropolitan Name in Nepali

    Nepal.MetroNepali()

    Get all Metropolitan in Province No. 3

    Nepal.MetroByProvince('Province No. 3')

    Get all Metropolitan Name in Nepali in Province No. 3

    Nepal.MetroNepaliByProvince('Province No. 3')

    SubMetropolitan


    Get all SubMetropolitan in Nepal

    Nepal.SubMetro()

    Get all SubMetropolitan Name in Nepali

    Nepal.SubMetroNepali()

    Get all SubMetropolitan in Province No. 3

    Nepal.SubMetroByProvince('Province No. 3')

    Get all SubMetropolitan Name in Nepali in Province No. 3

    Nepal.SubMetroNepaliByProvince('Province No. 3')

    Municipalities


    Get all Municipalities in Nepal

    Nepal.Municipalities()

    Get all Municipalities Name in Nepali

    Nepal.MunicipalitiesNepali()

    Get all Municipalities in Province No. 3

    Nepal.MunicipalitiesByProvince('Province No. 3')

    Get all Municipalities Name in Nepali in Province No. 3

    Nepal.MunicipalitiesNepaliByProvince('Province No. 3')

    Get all Municipalities in Kathmandu District

    Nepal.MunicipalitiesByDistrict('Kathmandu')

    Get all Municipalities Name in Nepali Kathmandu District

    Nepal.MunicipalitiesNepaliByDistrict('Kathmandu')

    RularMunicipalities


    Get all RularMunicipalities in Nepal

    Nepal.RularMunicipalities()

    Get all RularMunicipalities Name in Nepali

    Nepal.RularMunicipalitiesNepali()

    Get all RularMunicipalities in Province No. 5

    Nepal.RularMunicipalitiesByProvince('Province No. 5')

    Get all RularMunicipalities Name in Nepali in Province No. 5

    Nepal.RularMunicipalitiesNepaliByProvince('Province No. 5')

    Get all RularMunicipalities in Kavrepalanchok District

    Nepal.RularMunicipalitiesByDistrict('Kavrepalanchok')

    Get all RularMunicipalities Name in Nepali Kavrepalanchok District

    Nepal.RularMunicipalitiesNepaliByDistrict('Kavrepalanchok')

    Some G.K

    1. Which districts doesn't have Rular Municipalities?

    => Kathmandu, Bhaktapur

    2. Which districts doesn't have Municipalities?

    => Manang, Mustang, and Humla

    Install

    npm i nepal_political

    DownloadsWeekly Downloads

    3

    Version

    1.2.8

    License

    wtfpl

    Unpacked Size

    205 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar