https://github.com/danielgolden/retext-no-emojis
A retext plugin to discourage the usage of emoji(s)
https://github.com/danielgolden/retext-no-emojis
natural-language-processing retext retext-plugin unifiedjs
Last synced: 5 months ago
JSON representation
A retext plugin to discourage the usage of emoji(s)
- Host: GitHub
- URL: https://github.com/danielgolden/retext-no-emojis
- Owner: danielgolden
- Created: 2022-01-29T23:57:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-01T14:15:24.000Z (over 4 years ago)
- Last Synced: 2025-10-02T09:56:39.832Z (9 months ago)
- Topics: natural-language-processing, retext, retext-plugin, unifiedjs
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# retext-no-emojis
A [retext](https://github.com/retextjs/retext) plugin to discourage the usage of emoji(s).
## Install
```sh
npm install retext-no-emojis
```
## Use
```js
import { retext } from "retext";
import retextNoEmojis from "./index.js";
retext()
.use(retextNoEmojis)
.process("This is some text ✨ with emojis 😂 sprinkled in 😏.")
.then((text) => {
console.error(text.messages);
});
```