@justchola/districts
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

Districts

About this Package

A small library about Zambian Provinces, Districts and Constituencies.

Last Updated

Country data is updated when necessary and the timestamp is also updated in each country class, this can be accessed by calling Zambia.timestamp() which prints a console log and returns a date object.

Installing Package

Run this command in the root of your project

pnpm add @justchola/districts

# or 

npm install @justchola/districts

and include the library in your project like so:

import { Zambia } from '@justchola/districts';

upon typing the word Zambia, your IDE's intellisense should kick in to show you the available functions which should be self-explanatory. Standard values across countries will be Zambia.currency, Zambia.country e.tc...

Package Sidebar

Install

npm i @justchola/districts

Weekly Downloads

1

Version

0.6.1

License

MIT

Unpacked Size

24.7 kB

Total Files

11

Last publish

Collaborators

  • justchola