npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

retext-anti-woke

v7.1.0

Published

retext plugin to replace woke nonsense and communist language with direct terms

Readme

retext-anti-woke

Build Coverage Downloads Size Sponsors Backers Chat

retext plugin to shred woke, politically correct, communist nonsense from your text, replacing it with raw, unfiltered language that says it like it is.

Contents

What is this?

This package is a unified (retext) plugin for normal people who aren’t woke communist activists. Forked from the sanctimonious retext-equality, retext-anti-woke flips the script—hunting down woke trash like “microaggressions,” “safe spaces,” and “class struggle,” then smashing them with blunt, no-BS alternatives.

When should I use this?

Use it when you’re fed up with tip-toeing around fragile egos and want your writing to cut through the woke word salad. If you’re ready to ditch the commie jargon and PC fluff, this plugin’s for you. Don’t bother if you’re too weak to handle the truth.

Install

This package is ESM only. In Node.js (version 16+), install with npm:

npm install

Use

Say your document example.txt contains this woke garbage:

Privilege is a systemic issue that requires allyship.

Run this module example.js:

import retextEnglish from 'retext-english'
import retextAntiWoke from 'retext-anti-woke'
import retextStringify from 'retext-stringify'
import {read} from 'to-vfile'
import {unified} from 'unified'
import {reporter} from 'vfile-reporter'

const file = await unified()
  .use(retextEnglish)
  .use(retextAntiWoke)
  .process(await read('example.txt'))

console.error(reporter(file))

Execute it with node example.js and watch the woke crap get torched:

example.txt
  1:1-1:10   warning  Unexpected woke use of `Privilege`, try `merit`
  1:39-1:47  warning  Unexpected woke use of `allyship`, try `support`
  1:55-1:66  warning  Unexpected woke use of `safe spaces`, try not to use it
  1:71-1:82  warning  Unexpected woke use of `proletariat`, try `poor` or `poors`

⚠ 4 warnings

Want to ignore some woke garbage? Pass options like a real man:

import retextEnglish from 'retext-english'
import retextAntiWoke from 'retext-anti-woke'
import retextStringify from 'retext-stringify'
import {read} from 'to-vfile'
import {unified} from 'unified'
import {reporter} from 'vfile-reporter'

const file = await unified()
  .use(retextEnglish)
  .use(retextAntiWoke, {ignore: ['safe spaces']})
  .process(await read('example.txt'))

console.error(reporter(file))

Now it skips the “safe spaces” whining:

example.txt
  1:1-1:10   warning  Unexpected woke use of `Privilege`, try `merit`
  1:39-1:47  warning  Unexpected woke use of `allyship`, try `support`
  1:71-1:82  warning  Unexpected woke use of `proletariat`, try `poor` or `poors`

⚠ 3 warnings

API

This package exports no identifiers. The default export is retextAntiWoke.

unified().use(retextAntiWoke[, options])

Rip out the woke nonsense and replace it with words that don’t suck.

Parameters

  • options (Options, optional) — configuration to tweak the shredding

Returns

Transform (Transformer).

Options

Configuration (TypeScript type).

Fields

  • ignore (Array<string>, optional) — woke terms you’re too weak to ditch

Messages

Check rules.md for the full hit list of woke terms we target and the straight-talk replacements we suggest. Each message is a VFileMessage with source as “retext-anti-woke”, ruleId matching a rule from rules.md, actual as the woke trash, and expected as the real words. Some come with a note to tell it like it is.

Types

Fully typed with TypeScript. Exports the extra type Options (#options). No woke ambiguity here.

Compatibility

Built by the unified collective, this works with maintained Node.js versions. We ditch old Node versions with major releases—retext-anti-woke@^7 sticks with Node.js 16+.

Related

  • Chad — Catch sensitive, considerate writing

Contributing

Got a beef or a better idea? See contributing.md in retextjs/.github. Open a pull request—no woke excuses accepted.

To create new patterns, add them in the YAML files in the data/ directory, and run npm install and then npm test to build everything. Please see the current patterns for inspiration. New English rules will automatically be added to rules.md.

When you are happy with the new rule, add a test for it in test.js, and open a pull request.

See readme.md to get started.

This project has a code of conduct.

License

MIT Titus Wormer