1.0.0 • Published 2 years ago

testgalsenify v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Galsenify 📦💫

Galsenify is a package that allows you to easily manipulate data about Senegal.
It offers a lot of information about Senegal.

Lire en Français

Install 📥

via Npm

npm i galsenify

or Yarn

yarn add galsenify

Usage 💡

import galsenify from 'galsenify';
// or
const galsenify = require("galsenify");

// get all Senegal's regions
console.log(galsenify.regions());

// results
[
  'Dakar',   'Diourbel',
  'Fatick',  'Kaffrine',
  'Kaolack', 'Kédougou',
  'Kolda',   'Louga',
  'Matam',   'Saint-Louis',
  'Sédhiou', 'Tambacounda',
  'Thies',   'Ziguinchor'
]

List of available commands 🧩

// Get all data about Senegal.
console.log(galsenify.sn());

// Get all national language.
console.log(galsenify.langNat());

// Get all data about region.
console.log(galsenify.rg());

// Get all regions.
console.log(galsenify.regions());

// Get departments by region.
// replace "value" by an existing department (example : Dakar)
console.log(galsenify.departments("value"));

// Get populations by region.
// replace "value" by an existing department (example : thies)
console.log(galsenify.population("value"));

// Get area by region.
// replace "value" by an existing department (example : KAOLACK)
console.log(galsenify.area("value"));

// Get all regions code.
console.log(galsenify.codes());

Example ✅

...

Author 🌟

Created by Daouda BA

You can buy me a coffee ☕ and help the project to grow up 🙌🏾

Contributing 🌍

⚠️ If you want contribute on this project, please check firt the Contributing Guide.

If you find 🐞 or you have a 💡 about the evolution of this project, you can open an issue.
I'm also available on Twitter.

Changelog 🔁

You can also consult the Changelog to see the different changes and evolution between versions.

Licence 🎫

This package is released under the MIT Licence

1.0.0

2 years ago