https://github.com/euberdeveloper/asciify
A simple npm module to convert a unicode string to the best equivalent ascii string.
https://github.com/euberdeveloper/asciify
Last synced: 3 months ago
JSON representation
A simple npm module to convert a unicode string to the best equivalent ascii string.
- Host: GitHub
- URL: https://github.com/euberdeveloper/asciify
- Owner: euberdeveloper
- License: mit
- Created: 2021-05-14T17:54:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-14T17:55:50.000Z (about 4 years ago)
- Last Synced: 2025-02-04T15:50:02.221Z (5 months ago)
- Language: JavaScript
- Size: 165 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @euberdeveloper/asciify
How we say in Italy: **"Che fai? ASCIIFY!"**.
## What it does
@euberdeveloper/asciify is a simple npm module to convert a unicode string to the best equivalent ascii string.
## How to use it
Install it via:
```bash
npm i @euberdeveloper/asciify
```Then just use it!!!
```js
const asciify = require('@euberdeveloper/asciify');const unicodeString = 'caffè';
const asciiString = asciify.traduce(unicodeString);console.log(asciiString); // The result will be "caffe"
```