/retext-no-emojis

A retext plugin to discourage the usage of emoji(s)

Primary LanguageJavaScript

retext-no-emojis

A retext plugin to discourage the usage of emoji(s).

Install

npm install retext-no-emojis

Use

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);
  });