{"id":44863261,"url":"https://github.com/tinwatchman/grawlix-racism","last_synced_at":"2026-02-17T10:44:36.432Z","repository":{"id":57253812,"uuid":"86866598","full_name":"tinwatchman/grawlix-racism","owner":"tinwatchman","description":"grawlix plugin that replaces racial slurs with nonsense symbols","archived":false,"fork":false,"pushed_at":"2017-04-19T08:52:28.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-24T02:36:34.634Z","etag":null,"topics":["grawlix","profanity","profanity-filter","profanityfilter","racism"],"latest_commit_sha":null,"homepage":null,"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/tinwatchman.png","metadata":{"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}},"created_at":"2017-03-31T23:00:00.000Z","updated_at":"2019-07-19T03:13:15.000Z","dependencies_parsed_at":"2022-09-04T14:11:13.454Z","dependency_job_id":null,"html_url":"https://github.com/tinwatchman/grawlix-racism","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"purl":"pkg:github/tinwatchman/grawlix-racism","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinwatchman%2Fgrawlix-racism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinwatchman%2Fgrawlix-racism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinwatchman%2Fgrawlix-racism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinwatchman%2Fgrawlix-racism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinwatchman","download_url":"https://codeload.github.com/tinwatchman/grawlix-racism/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinwatchman%2Fgrawlix-racism/sbom","scorecard":{"id":887436,"data":{"date":"2025-08-11","repo":{"name":"github.com/tinwatchman/grawlix-racism","commit":"a9cde9b9ba957330446078d98909db75646f505b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T10:31:38.347Z","repository_id":57253812,"created_at":"2025-08-24T10:31:38.347Z","updated_at":"2025-08-24T10:31:38.347Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29540359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["grawlix","profanity","profanity-filter","profanityfilter","racism"],"created_at":"2026-02-17T10:44:35.353Z","updated_at":"2026-02-17T10:44:36.406Z","avatar_url":"https://github.com/tinwatchman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"grawlix-racism\n==============\n\n[![Build Status](https://travis-ci.org/tinwatchman/grawlix-racism.svg?branch=master)](https://travis-ci.org/tinwatchman/grawlix-racism)\n[![Dependency Status](https://gemnasium.com/tinwatchman/grawlix-racism.svg)](https://gemnasium.com/tinwatchman/grawlix-racism)\n[![Coverage Status](https://coveralls.io/repos/github/tinwatchman/grawlix-racism/badge.svg?branch=master)](https://coveralls.io/github/tinwatchman/grawlix-racism?branch=master)\n\nA plugin for [`grawlix`](https://www.npmjs.com/package/grawlix) that focuses on replacing racial and ethnic slurs with nonsensical characters. This module adds filters for twenty-four different racist terms and their variants.\n\n**WARNING: THIS PACKAGE DEALS DIRECTLY WITH WORDS AND TERMS THAT MANY FIND OFFENSIVE, IMPOLITE, AND/OR DISTASTEFUL. ALL FILES IN THE REPOSITORY SHOULD BE CONSIDERED NSFW/NOT SAFE FOR WORK OR SCHOOL UNLESS STATED OTHERWISE. PLEASE READ THE SOURCE CODE AT YOUR OWN RISK!**\n\nTo see the full list of words handled by this plugin, [click here \\(NSFW\\)](https://github.com/tinwatchman/grawlix-racism/blob/master/WORDS.json). To learn more about the `grawlix` package, visit its [repository](https://github.com/tinwatchman/grawlix).\n\n## Installation\n\nThis plugin requires `grawlix`.\n\n```sh\nnpm install grawlix-racism --save\n```\n\n## Usage\n\n```javascript\nvar grawlix = require('grawlix');\ngrawlix.setDefaults({\n  plugins: [\n    {\n      plugin: require('grawlix-racism'),\n      options: {\n        style: 'nazi'\n      }\n    }\n  ]\n  // other options...\n});\n// or alternately:\ngrawlix.loadPlugin('grawlix-racism', {\n  style: 'nazi'\n});\n```\n\n## Options\n\n### style\n\nType: `String`\u003cbr\u003e\nDefault: `'nazi'`\n\nSets the distinct style of grawlix used to replace racial and ethnic slurs. By default, any slurs found by this plugin will be replaced using its own ['nazi' style](#style_nazi), as opposed to whatever main style has been set in the `grawlix` options. This is intended to specifically highlight and call out filtered content that uses racially-insensitive language.\n\nTo turn this feature off, set this property to `false` in the plugin options:\n\n```javascript\ngrawlix.setDefaults({\n  plugins: [\n    {\n      plugin: require('grawlix-racism'),\n      options: {\n        style: false\n      }\n    }\n  ]\n});\n// or:\ngrawlix.loadPlugin('grawlix-racism', {\n  style: false\n});\n```\n\nYou can also use this option to specify a distinct style other than `'nazi'`:\n\n```javascript\ngrawlix.setDefaults({\n  style: 'redacted',\n  plugins: [\n    {\n      plugin: require('grawlix-racism'),\n      options: {\n        style: 'asterix'\n      }\n    }\n  ]\n});\n// result of these settings: slurs will be replaced by '*' characters,\n// while other obscenities will be replaced by '█'s.\n```\n\n## Filters\n\n[Click here \\(NSFW\\)](https://github.com/tinwatchman/grawlix-racism/blob/master/WORDS.json) to see a full list of the racial and ethnic slurs targeted by this plugin.\n\n## Styles\n\n\u003ca name=\"style_nazi\"\u003e\u003c/a\u003e\n\n### Nazi\n\nSingle-Character Grawlix Style\u003cbr\u003e\nName String: `'nazi'`\u003cbr\u003e\nCharacter: `'卐'`\n\nReplaces found words with swastika (`卐`) symbols. Useful for pointing out or calling attention to hate speech.\n\n```javascript\ngrawlix.setDefaults({\n  style: 'nazi',\n  filters: [\n    {\n      word: 'racialslur',\n      pattern: /racialslur/i\n    }\n  ]\n});\n\ngrawlix('some kind of racialslur');\n// output: 'some kind of 卐卐卐卐卐卐卐卐卐卐'\n```\n\n## Testing\n\n```sh\nnpm test\n```\n\n## Release History\n\n- 1.0.2\n  * Shortened `useDistinctStyle` option to `style`\n\n## Credits and Licensing\n\nCreated by [Jon Stout](http://www.jonstout.net). Licensed under [the MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinwatchman%2Fgrawlix-racism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinwatchman%2Fgrawlix-racism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinwatchman%2Fgrawlix-racism/lists"}