Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,162 members, 7,829,158 topics. Date: Wednesday, 15 May 2024 at 08:38 PM

Do You Need Nigeria States And Local Governments? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Do You Need Nigeria States And Local Governments? (1212 Views)

I Need Nigeria Residential Proxies / African Governments, Are You Ready For The Fourth Industrial Revolution? / Woocommerce Shipping Plugin For Local Governments (2) (3) (4)

(1) (Reply) (Go Down)

Do You Need Nigeria States And Local Governments? by Atom57(m): 3:58am On Jan 22, 2018
I just created an npm package for Nigeria state and Local government

you can
 npm install naija-state-local-government 


Examples


//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"wink);


Check it out on https://www.npmjs.com/package/naija-state-local-government.

Feel free to ask any question.

1 Like

Re: Do You Need Nigeria States And Local Governments? by Atom57(m): 12:59am On Jan 24, 2018
Feel Free to ask question
Re: Do You Need Nigeria States And Local Governments? by Ethanegos(m): 1:24pm On Nov 08, 2021
Its returning all the states in one line.

Can I see your usage?
Re: Do You Need Nigeria States And Local Governments? by Ethanegos(m): 1:26pm On Nov 08, 2021
Its returning all the states on one line.

Can I see your usage?
Re: Do You Need Nigeria States And Local Governments? by Ethanegos(m): 1:28pm On Nov 08, 2021
I used the format below.

option value="">{NaijaStates.states()}</option>

(1) (Reply)

Why Are The Best Programmers Not Found? / Where Is The Thread That Says Nairaland Programming Section Is Bloody Worthless? / Programming Languages? They All The Same Language Afterall By Larry Okeke

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.