Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattezekiel/wa-converter

Package that convert number to whatsapp number and add some descriptión to your message
https://github.com/mattezekiel/wa-converter

formatter node nodejs npm npm-package pnpm pnpm-monorepo typescript typescript-library whatsapp yarn

Last synced: about 1 month ago
JSON representation

Package that convert number to whatsapp number and add some descriptión to your message

Awesome Lists containing this project

README

        

# 📲 Whatsapp Converter
This package seeks to format phone numbers to WhatsApp links

[![GitHub Repo stars](https://img.shields.io/github/stars/MattEzekiel/wa-converter)](https://github.com/MattEzekiel/wa-converter/stargazers)
[![GitHub watchers](https://img.shields.io/github/watchers/MattEzekiel/wa-converter)](https://github.com/MattEzekiel/wa-converter/watchers)
[![GitHub forks](https://img.shields.io/github/forks/MattEzekiel/wa-converter)](https://github.com/MattEzekiel/wa-converter/network/members)

[![Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FMattEzekiel%2Fwa-converter%2Fmaster%2Fpackage.json&query=version&label=version)](https://github.com/MattEzekiel/wa-converter)
[![License](https://img.shields.io/badge/License-MIT-blue)](#license)

[![Made with Node](https://img.shields.io/badge/node-%3D%3E20-20)](https://nodejs.org)
[![Package - Yarn](https://img.shields.io/badge/yarn-%3E%3D1-blue?logo=yarn&logoColor=white)](https://classic.yarnpkg.com)
[![Package - TypeScript](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FMattEzekiel%2Fwa-converter%2Fmaster%2Fpackage.json&query=devDependencies.typescript&label=TypeScript&logo=typescript&logoColor=white)](https://www.npmjs.com/package/typescript)

[![NPM Package Downloads](https://img.shields.io/npm/dy/whatsapp-conveter)](https://www.npmjs.com/package/whatsapp-conveter)

[![GitHub Issues](https://img.shields.io/github/issues/MattEzekiel/wa-converter)](https://github.com/MattEzekiel/wa-converter/issues)
[![Pull Requests](https://img.shields.io/github/issues-pr/MattEzekiel/wa-converter)](https://github.com/MattEzekiel/wa-converter/pulls)

[![Github Sponsors](https://img.shields.io/badge/Sponsor-30363D?&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/mattezekiel)
[![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?&logo=buy-me-a-coffee&logoColor=black)](https://cafecito.app/mattezekiel)

## Installation

You can install the package via npm:
### npm
```bash
npm install whatsapp-conveter
```

### yarn
```bash
yarn install whatsapp-conveter
```

### pnpm
```bash
pnpm add whatsapp-conveter
```

## Usage
### Import
````ts
import formatWhatsAppUrl from 'wa-converter';
````

### Add to your code
```ts
formatWhatsAppUrl('+123456489', 'Hello friend');
```

## Contributing and Issue Tracking
If you're interested in contributing to this project or want to report an issue, please check out our [CONTRIBUTING.md](https://github.com/MattEzekiel/wa-converter/blob/master/CONTRIBUTING.md) guide for detailed information on how to get involved.

## Code of conduct
Respect our [CODE OF CONDUCT](https://github.com/MattEzekiel/wa-converter/blob/master/CODE_OF_CONDUCT.md)

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/MattEzekiel/wa-converter/blob/master/LICENSE.md) file for details.