https://github.com/daoodaba975/galsenify
A comprehensive library for Senegalese data, it offers a lot of information about country of Teranga π«
https://github.com/daoodaba975/galsenify
data made-in-senegal npm-package
Last synced: 7 months ago
JSON representation
A comprehensive library for Senegalese data, it offers a lot of information about country of Teranga π«
- Host: GitHub
- URL: https://github.com/daoodaba975/galsenify
- Owner: daoodaba975
- Created: 2022-09-22T23:18:49.000Z (over 3 years ago)
- Default Branch: prod
- Last Pushed: 2025-05-30T23:30:18.000Z (8 months ago)
- Last Synced: 2025-06-10T23:05:45.762Z (8 months ago)
- Topics: data, made-in-senegal, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/galsenify
- Size: 524 KB
- Stars: 37
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Galsenify π¦π«

**_Lire en [FranΓ§ais](./assets/translate/FR.md)_**
**Galsenify** is a package that allows you to easily manipulate data about Senegal.
It offers a lot of information about Senegal.
- Current version β‘οΈ 1.0.0
## Install π₯
`via NPM`
```bash
npm i galsenify
```
`via YARN`
```bash
yarn add galsenify
```
`via PNPM`
```bash
pnpm i galsenify
```
## Usage π‘
```js
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 π§©
```js
// 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 β
**[Galsenify Demo](https://github.com/daoodaba975/galsenify.demo)** is a demo project to show you how to use the Galsenify package in Next.js project presented at #LiveKoorGalsenDEV event, you can see live [here](https://galsenify.vercel.app).
## Author π
[](https://github.com/daoodaba975)
Created by **[Daouda BA](https://github.com/daoodaba975)**
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](./assets/CONTRIBUTING.md)**.
If you find π or you have a π‘ about the evolution of this project, you can open an **[issue](https://github.com/daoodaba975/galsenify/issues/new)**.
I'm also available on **[Twitter](https://twitter.com/daoodaba975)**.
A special thanks to [Dame LEYE (Honorable Con)](https://github.com/honorableCon) for his contribution on this project.
[](https://github.com/honorableCon)
Thanks to all contributors ππ½
## Changelog π
You can also consult the **[Changelog](./assets/CHANGELOG.md)** to see the different changes and evolution between versions.
## Licence π«
This package is released under the **[MIT Licence](./assets/LICENCE.md)** β
[](https://github.com/GalsenDev221/made.in.senegal)
