Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gautamkrishnar/profanity-finder.js
Simple profanity finding library for javascript to detect swear language.Created for nodejs.
https://github.com/gautamkrishnar/profanity-finder.js
detect-swear-language nodejs npm profanity-detection
Last synced: 26 days ago
JSON representation
Simple profanity finding library for javascript to detect swear language.Created for nodejs.
- Host: GitHub
- URL: https://github.com/gautamkrishnar/profanity-finder.js
- Owner: gautamkrishnar
- License: gpl-3.0
- Created: 2016-04-30T05:10:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-12T11:19:29.000Z (over 1 year ago)
- Last Synced: 2024-10-02T05:41:30.712Z (about 1 month ago)
- Topics: detect-swear-language, nodejs, npm, profanity-detection
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/profanity-finder
- Size: 40 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# profanity-finder.js [![npm version](https://badge.fury.io/js/profanity-finder.svg)](https://badge.fury.io/js/profanity-finder)
Simple profanity finding library for javascript to detect swear language. You can include this library in your projects for easily detecting swear words or bad words.## Installation
```
npm install profanity-finder --save
```
## Usage
```js
var profanityfinder = require('profanity-finder');
var findprofanity = profanityfinder.findprofanity;var text="this is shit";
var x= findprofanity(text);
```
The value of x will be true if any hate speach is found in the passed string to `findprofanity()`
## Contributing
Clone the project and submit your improvements via pull request. Dont forget to checkout profanity finding library for other programming languages:
https://github.com/gautamkrishnar/profanity-finder## Stats
[![NPM](https://nodei.co/npm/profanity-finder.png?downloads=true&stars=true)](https://nodei.co/npm/profanity-finder/)## Release History
* 1.0.1 Initial release
* 1.0.2 Improved perfomance