unified

Project: danielgolden/retext-no-emojis

Package: retext-no-emojis@1.0.2

  1. A retext plugin for discouraging the usage of emoji(s). Meant for use in writing style guides.
  1. retext 42
  2. retext-plugin 26
  3. unifiedjs 5

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