{"id":20827002,"url":"https://github.com/retextjs/retext-intensify","last_synced_at":"2025-05-07T20:44:45.332Z","repository":{"id":3478343,"uuid":"49721028","full_name":"retextjs/retext-intensify","owner":"retextjs","description":"plugin to check for weak and mitigating wording","archived":false,"fork":false,"pushed_at":"2023-09-08T10:23:03.000Z","size":110,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-21T16:32:43.514Z","etag":null,"topics":["intensify","mitigating","natural-language","retext","retext-plugin","weak"],"latest_commit_sha":null,"homepage":"https://unifiedjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/retextjs.png","metadata":{"funding":{"github":"unifiedjs","open_collective":"unified"},"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-15T13:44:12.000Z","updated_at":"2024-10-05T02:22:42.000Z","dependencies_parsed_at":"2024-06-18T18:39:37.860Z","dependency_job_id":"2f65f416-de70-403f-87ea-fed7bd7fe681","html_url":"https://github.com/retextjs/retext-intensify","commit_stats":{"total_commits":96,"total_committers":3,"mean_commits":32.0,"dds":0.03125,"last_synced_commit":"9450bee5f02f49a748c27427f4fc39d8500a4c5c"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retextjs%2Fretext-intensify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retextjs%2Fretext-intensify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retextjs%2Fretext-intensify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retextjs%2Fretext-intensify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/retextjs","download_url":"https://codeload.github.com/retextjs/retext-intensify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252676625,"owners_count":21786973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["intensify","mitigating","natural-language","retext","retext-plugin","weak"],"created_at":"2024-11-17T23:10:47.506Z","updated_at":"2025-05-07T20:44:45.293Z","avatar_url":"https://github.com/retextjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/unifiedjs","https://opencollective.com/unified"],"categories":[],"sub_categories":[],"readme":"# retext-intensify\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n**[retext][]** plugin to check for weak and mitigating wording.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`unified().use(retextIntensify[, options])`](#unifieduseretextintensify-options)\n    *   [`Options`](#options)\n*   [Messages](#messages)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is a [unified][] ([retext][]) plugin to check for words that are\nweak: [weasels][wiki-weasels], [hedges][wiki-hedges], and\n[fillers][wiki-fillers].\n\n## When should I use this?\n\nYou can opt-into this plugin when you’re dealing with content that might contain\nvague wording, and have authors that can fix that content.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install retext-intensify\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport retextIntensify from 'https://esm.sh/retext-intensify@7'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import retextIntensify from 'https://esm.sh/retext-intensify@7?bundle'\n\u003c/script\u003e\n```\n\n## Use\n\nSay our document `example.txt` contains:\n\n```txt\nSome people say there are quite some\nproblems, apparently.\n```\n\n…and our module `example.js` contains:\n\n```js\nimport {retext} from 'retext'\nimport retextIntensify from 'retext-intensify'\nimport {read} from 'to-vfile'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await retext()\n  .use(retextIntensify)\n  .process(await read('example.txt'))\n\nconsole.error(reporter(file))\n```\n\n…then running `node example.js` yields:\n\n```txt\nexample.txt\n1:1-1:5   warning Unexpected weasel (vague or ambiguous) word `Some`    weasel retext-intensify\n1:13-1:16 warning Unexpected hedge (uncertain or indecisive) word `say` hedge  retext-intensify\n1:27-1:32 warning Unexpected weasel (vague or ambiguous) word `quite`   weasel retext-intensify\n1:33-1:37 warning Unexpected weasel (vague or ambiguous) word `some`    weasel retext-intensify\n2:11-2:21 warning Unexpected filler (meaningless) word `apparently`     filler retext-intensify\n\n⚠ 5 warnings\n```\n\n## API\n\nThis package exports no identifiers.\nThe default export is [`retextIntensify`][api-retext-intensify].\n\n### `unified().use(retextIntensify[, options])`\n\nCheck for weak and mitigating wording.\n\n###### Parameters\n\n*   `options` ([`Options`][api-options], optional)\n    — configuration\n\n###### Returns\n\nTransform ([`Transformer`][unified-transformer]).\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Fields\n\n*   `ignore` (`Array\u003cstring\u003e`, optional)\n    — phrases *not* to warn about\n\n## Messages\n\nEach message is emitted as a [`VFileMessage`][vfile-message] on `file`, with\n`source` set to `'retext-intensify'`, `ruleId` to `'filler'`, `'hedge'`, or\n`'weasel'`, `actual` to the unexpected phrase, and `expected` to an empty\narray.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type [`Options`][api-options].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `retext-intensify@^7`,\ncompatible with Node.js 16.\n\n## Related\n\n*   [`retext-equality`](https://github.com/retextjs/retext-equality)\n    — check possible insensitive, inconsiderate language\n*   [`retext-passive`](https://github.com/retextjs/retext-passive)\n    — check passive voice\n*   [`retext-profanities`](https://github.com/retextjs/retext-profanities)\n    — check profane and vulgar wording\n*   [`profanities`](https://github.com/words/profanities)\n    — list of profane words\n*   [`hedges`](https://github.com/words/hedges)\n    — list of hedge words\n*   [`fillers`](https://github.com/words/fillers)\n    — list of filler words\n*   [`weasels`](https://github.com/words/weasels)\n    — list of weasel words\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`retextjs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n\u003c!-- Definitions --\u003e\n\n[build-badge]: https://github.com/retextjs/retext-intensify/workflows/main/badge.svg\n\n[build]: https://github.com/retextjs/retext-intensify/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/retextjs/retext-intensify.svg\n\n[coverage]: https://codecov.io/github/retextjs/retext-intensify\n\n[downloads-badge]: https://img.shields.io/npm/dm/retext-intensify.svg\n\n[downloads]: https://www.npmjs.com/package/retext-intensify\n\n[size-badge]: https://img.shields.io/bundlejs/size/retext-intensify\n\n[size]: https://bundlejs.com/?q=retext-intensify\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/retextjs/retext/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[health]: https://github.com/retextjs/.github\n\n[contributing]: https://github.com/retextjs/.github/blob/main/contributing.md\n\n[support]: https://github.com/retextjs/.github/blob/main/support.md\n\n[coc]: https://github.com/retextjs/.github/blob/main/code-of-conduct.md\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[retext]: https://github.com/retextjs/retext\n\n[unified]: https://github.com/unifiedjs/unified\n\n[unified-transformer]: https://github.com/unifiedjs/unified#transformer\n\n[vfile-message]: https://github.com/vfile/vfile-message\n\n[wiki-weasels]: https://en.wikipedia.org/wiki/Weasel_word\n\n[wiki-fillers]: https://en.wikipedia.org/wiki/Filler_%28linguistics%29\n\n[wiki-hedges]: https://en.wikipedia.org/wiki/Hedge_%28linguistics%29\n\n[api-options]: #options\n\n[api-retext-intensify]: #unifieduseretextintensify-options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretextjs%2Fretext-intensify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretextjs%2Fretext-intensify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretextjs%2Fretext-intensify/lists"}