rdcsl
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

rdcsl: Region, District and Chiefdom

[NPM version][npm] [NPM][npm]

Building application require location data to be used as basis for region, district and chiefdom in Sierra Leone.

Regions

import rdcsl from "rdcsl";

rdcsl.regions // return a list of all the regions in sierra leone

Districts

import rdcsl from "rdcsl";

rdcsl.districts // return a list of all the districts in sierra leone

Chiefdoms

import rdcsl from "rdcsl";

rdcsl.chiefdoms // return a list of all the chiefdoms in sierra leone

Region Districts

import rdcsl from "rdcsl";

rdcsl.regionDistricts("Eastern") // return a object contains districts of the region argument passed in sierra leone

District Chiefdoms

import rdcsl from "rdcsl";

rdcsl.districtChiefdoms("Bo") // return a object contains chiefdoms of the district argument passed in sierra leone

Region Object

import rdcsl from "rdcsl";

rdcsl.regionObject("Eastern") // return a object contains districts with their  chiefdoms of the region argument passed in sierra leone

District Object

import rdcsl from "rdcsl";

rdcsl.districtObject("Bo") // return a object contains region and chiefdoms of the district argument passed in sierra leone

Release History

  • 2023-02-05 [v1.0.0][] (public, initial)
  • 2023-02-05 [v1.0.1][] (public, initial)
  • 2023-02-05 [v1.0.2][] (public, initial)
  • 2023-02-06 [v1.0.3][] (public, initial)
  • 2023-02-06 [v1.0.4][] (public, initial)
  • 2023-02-06 [v1.0.5][] (public, initial)
  • 2023-02-06 [v1.0.6][] (public, initial)

/rdcsl/

    Package Sidebar

    Install

    npm i rdcsl

    Weekly Downloads

    3

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    23.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • isho