unified

Project: danielgolden/retext-no-emojis

Package: retext-no-emojis@1.0.2

  1. Dependents: 0
  2. A retext plugin for discouraging the usage of emoji(s). Meant for use in writing style guides.
  1. retext 41
  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);
  });