1.0.0 • Published 1 year ago

galsenify v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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.languesNationales());

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

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

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

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

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

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

Example ✅

Coming soon ⏳...

Author 🌟

Daouda BA
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.

A special thanks to Dame LEYE (Honorable Con) for his contribution on this project.

Honorable Con

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

1 year ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago