atomicman57 / Naija State Local Government
A simple utility library that lists Nigeria states and local governments with zero dependency
Stars: ✭ 50
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Naija State Local Government
Tr Geozones
Ülkeler ve Türkiye İl İlçe Semt Mahalle ve Posta Kodu Veritabanı (Laravel)
Stars: ✭ 46 (-8%)
Mutual labels: city, state
Laravel World
provide countries, states, and cities relations and database.
Stars: ✭ 222 (+344%)
Mutual labels: city, state
csc picker
A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
Stars: ✭ 25 (-50%)
Mutual labels: state, city
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+2160%)
Mutual labels: city, state
Laraciproid
Indonesia city and province data migration and seeder for Laravel.
Stars: ✭ 24 (-52%)
Mutual labels: city
State Binder
StateBinder is a tiny library for view state management
Stars: ✭ 24 (-52%)
Mutual labels: state
Highcharts China Geo
Highcharts 中国地图,Highcharts 中国省市地图,Highcharts China Map,南海诸岛geo
Stars: ✭ 29 (-42%)
Mutual labels: city
Revived
A redux-inspired predictable state container for python
Stars: ✭ 12 (-76%)
Mutual labels: state
Osmnx Examples
Usage examples, demos, and tutorials for OSMnx.
Stars: ✭ 863 (+1626%)
Mutual labels: city
Wynullview
An easy way to use for view's empty state 一行代码显示空视图,高度自定义
Stars: ✭ 44 (-12%)
Mutual labels: state
Pytest Patterns
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Stars: ✭ 24 (-52%)
Mutual labels: state
Concent
State management that tailored for react, it is simple, predictable, progressive and efficient.
Stars: ✭ 882 (+1664%)
Mutual labels: state
Reo
🍯 regularjs and stateman based spa framework, inspired by redux, vuex and choo
Stars: ✭ 14 (-72%)
Mutual labels: state
naija-state-local-government
A simple utility library that lists Nigeria states and local governments with zero dependency
Installation
npm install naija-state-local-government
Example
//ES5
const NaijaStates = require('naija-state-local-government');
// ES6
import NaijaStates from 'naija-state-local-government';
console.log(NaijaStates.all());
console.log(NaijaStates.states());
console.log(NaijaStates.lgas("Oyo"))
Sample Usage
States
LGAs
function | argument | response | ||
---|---|---|---|---|
.all() | none | it returns all states and local government | ||
.states() | none | it returns all Nigeria states | ||
.lga(state) | state(Nigeria state. Note: it's not case sensitive) | it returns the local government of the input state. |
Features
List all local government areas and state in Nigeria
Contributing
- Fork this repositry to your account.
- Clone your repositry: git clone [email protected]:your-username/naija-state-local-government.git
- Create your feature branch: git checkout -b feature/<3-4 word feature description>
- Commit your changes: git commit -m "feature(scope): (subject) (body) (footer)"
- Push to the remote branch: git push origin new-feature
- Open a pull request.
- Commit Message Convention
-
scope should be something specific to the commit change e.g logo
-
subject text should:
- use present tense: "save" not "saved" or "saving"
- not capitalize first letter i.e no "Carry to safety"
- not end with a dot (.)
-
Message body (optional) If a body is to be written, it should:
- written in present tense.
- include reason for change and difference in the previous behaviour
-
Message Footer This should be used for referencing the issues using the following keywords: Start, Delivers, Fixes and Finishes. It should be written as:
- [Start #345]
-
License
This project is authored by Philips Blessing and is licensed for your use, modification and distribution under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].