Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daoodaba975/galsenify
π« Galsenify is a package NPM that allows you to easily manipulate data about Senegal, it offers a lot of information about country of Teranga.
https://github.com/daoodaba975/galsenify
data made-in-senegal npm-package
Last synced: 12 days ago
JSON representation
π« Galsenify is a package NPM that allows you to easily manipulate data about Senegal, 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 2 years ago)
- Default Branch: prod
- Last Pushed: 2024-12-31T01:01:13.000Z (about 1 month ago)
- Last Synced: 2025-01-10T05:42:13.622Z (23 days ago)
- Topics: data, made-in-senegal, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/galsenify
- Size: 582 KB
- Stars: 35
- Watchers: 1
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Galsenify π¦π«
![COVER](assets/img/cover.png)
**_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 π
[![Daouda BA](https://avatars.githubusercontent.com/daoodaba975?s=64)](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.
[![Honorable Con](https://avatars.githubusercontent.com/honorableCon?s=64)](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)** β
[![Made-In-Senegal](https://github.com/GalsenDev221/made.in.senegal/blob/master/assets/badge.svg)](https://github.com/GalsenDev221/made.in.senegal)