Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
naija-state-local-government
Advanced tools
A simple utility library that lists Nigeria states and local governments with zero dependency
A simple utility library that lists Nigeria states and local governments with zero dependency
npm install naija-state-local-government
//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"))
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. |
List all local government areas and state in Nigeria
scope should be something specific to the commit change e.g logo
subject text should:
Message body (optional) If a body is to be written, it should:
Message Footer This should be used for referencing the issues using the following keywords: Start, Delivers, Fixes and Finishes. It should be written as:
This project is authored by Philips Blessing and is licensed for your use, modification and distribution under the MIT license.
FAQs
A simple utility library that lists Nigeria states and local governments with zero dependency
The npm package naija-state-local-government receives a total of 385 weekly downloads. As such, naija-state-local-government popularity was classified as not popular.
We found that naija-state-local-government demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.