{"id":14384584,"url":"https://github.com/darwiin/french-badwords-list","last_synced_at":"2025-08-23T17:32:56.968Z","repository":{"id":51332116,"uuid":"102564422","full_name":"darwiin/french-badwords-list","owner":"darwiin","description":"A highly consumable list of bad (profanity) french words","archived":false,"fork":true,"pushed_at":"2023-05-24T22:29:39.000Z","size":260,"stargazers_count":24,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-02T00:41:57.595Z","etag":null,"topics":["badwords","francais","french","french-speaking","javascript","list","node-module","npm-module","profanity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"web-mech/badwords-list","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darwiin.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-09-06T04:57:09.000Z","updated_at":"2024-11-04T02:44:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/darwiin/french-badwords-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwiin%2Ffrench-badwords-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwiin%2Ffrench-badwords-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwiin%2Ffrench-badwords-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwiin%2Ffrench-badwords-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darwiin","download_url":"https://codeload.github.com/darwiin/french-badwords-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230716571,"owners_count":18269791,"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":["badwords","francais","french","french-speaking","javascript","list","node-module","npm-module","profanity"],"created_at":"2024-08-28T18:01:29.463Z","updated_at":"2024-12-21T12:30:44.776Z","avatar_url":"https://github.com/darwiin.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# French Bad Words List (french-badwords-list)\n\n [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Coverage Status](https://coveralls.io/repos/github/darwiin/french-badwords-list/badge.svg?branch=master)](https://coveralls.io/github/darwiin/french-badwords-list?branch=master)\n\n\n## Synopsis\n\nA highly consumable list of bad (profanity) french words based on the list found in [Wiktionary.org](https://fr.wiktionary.org/w/index.php?title=Cat%C3%A9gorie:Insultes_en_fran%C3%A7ais\u0026pageuntil=mongol+a+batteries%0Amongol+%C3%A0+batteries#mw-pages) and test with [bad-words](https://www.npmjs.com/package/bad-words) and [leo-profanity](https://www.npmjs.com/package/leo-profanity)\n\nInspired by [badwords-list](https://github.com/MauriceButler/badwords)\n\n[![NPM](https://nodei.co/npm/french-badwords-list.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/french-badwords-list/)\n\n## Code Example\n\nThis bad (profanity) french words list can be used with [bad-words](https://www.npmjs.com/package/bad-words) or [leo-profanity](https://www.npmjs.com/package/leo-profanity) for example. (If you want to add your filter module don't hesitate to create a pull request on the readme).\n\n```javascript\nvar list = require('french-badwords-list'),\n\tarray = list.array,\n\tobject = list.object,\n\tregex = list.regex;\n```\n\n### Code Example with **leo-profanity**\n\n**french-badwords-list** has been succesfully tested with [leo-profanity](https://www.npmjs.com/package/leo-profanity)\n\n```javascript\n// Usage example with leo-profanity\nvar leoProfanity = require('leo-profanity');\nvar frenchBadwordsList = require('french-badwords-list');\n\n// Only keep french badwords\nleoProfanity.clearList();\nleoProfanity.add(frenchBadwordsList.array);\n\n// output: true\nconsole.log(leoProfanity.check('Bordel de merde'));\n\n// output: ****** de *****\nconsole.log(leoProfanity.clean('Bordel de merde'));\n\n// output: ****** de *****\nconsole.log(leoProfanity.clean('B0rdel de m3rd3'));\n```\n\n### Code Example with **bad-words**\n\n**french-badwords-list** has been succesfully tested with [bad-words](https://www.npmjs.com/package/bad-words)\n\n```javascript\n// Usage example with leo-profanity\nvar BadWords = require('bad-words');\nconst frenchBadwords = require('french-badwords-list');\n\n// Only keep french badwords\nvar badwords = new BadWords({ placeHolder: 'x', emptyList: true}); \nbadwords.addWords(...frenchBadwordsList.array);\n  \n// output: xxxxxx de xxxxx\nconsole.log(badwords.clean('B0rdel de m3rd3'));\n\n// output: true\nconsole.log(badwords.isProfane('B0rdel de m3rd3'));\n```\n\n## Motivation\n\nThis project was created to be used with badwords or leo-profanity nodes modules as a source for french bad words to filter.\n\n## Installation\n\n```\nnpm install french-badwords-list\n```\n\n## Tests\n\n#### Requires\n- [Mocha](https://www.npmjs.com/package/mocha)\n- [Chai](https://www.npmjs.com/package/chai)\n- [leo-profanity](https://www.npmjs.com/package/leo-profanity) for integration testing\n- [bad-words](https://www.npmjs.com/package/bad-words) for integration testing\n- [uglify-js](https://www.npmjs.com/package/uglify-js) to minify source files\n\n#### Run\n```\nnpm test\n```\n\n## Release Notes\n- v1.0.0 / Sep 07 2017: Initial publish\n- v1.0.1 / Sep 13 2017: Updated french bad words list\n- v1.0.2 / Sep 13 2017: Updated french bad words list\n- v1.0.3 / Sep 18 2017: \n\t- Updated french bad words list\n\t- Tests rewritten with chai\n- v1.0.4 / 0ct 02 2017: Add french bad words to the list\n- v1.0.5 / 0ct 27 2017: \n\t- Add new words to the list\n\t- Use uglify-js to minify source files\n- v1.0.6 / Aug 02 2022: \n\t- Migrate to Github actions\n\t- Update all dependencies\n- v1.0.7 / May 25 2023: Security update\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Maurice Butler\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwiin%2Ffrench-badwords-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarwiin%2Ffrench-badwords-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwiin%2Ffrench-badwords-list/lists"}