
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
pure-flow-ai
Advanced tools
๐ค Smart text analysis package for detecting positive and negative words with AI support. Features customizable word lists, multiple languages, and AI-powered sentiment analysis. Perfect for content moderation, sentiment analysis, and text filtering in an
Efficient profanity filter for JavaScript/TypeScript applications with flexible configuration and simple API ๐ก๏ธ
pure-flow-ai
is a powerful and flexible profanity filter for JavaScript and TypeScript applications. It provides a simple yet comprehensive API for detecting, masking, and cleaning text from inappropriate language. Perfect for chat applications, comment systems, or any text-processing functionality requiring content moderation.
npm install pure-flow-ai
yarn install pure-flow-ai
pnpm install pure-flow-ai
import BadWordFilter from 'pure-flow-ai';
// Initialize with default options.
const { hasProfaneWords, maskProfanity, cleanString } = BadWordFilter({
additionalBlockWords: ['bad', 'word,'],
excludedWords: ['trash'],
placeholder: '*',
overrideBlockWords: true
});
// Check if text contains profanity.
const hasBadWords = hasProfaneWords('your text here');
// Mask profane words with asterisks
const masked = maskProfanity('your text here');
// Clean text by removing profane words.
const clean = cleanString('your text here');
We'd love for you to contribute to pure-flow-ai
! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
git checkout -b feature/your-feature
).git commit -am 'Add new feature'
).git push origin feature/your-feature
).Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.
Security is our priority. If you encounter any issues, please read our full Security Policy to report vulnerabilities safely and responsibly.
These folks keep the project moving and are resources for help.
Artemev A. A. |
This project is licensed under the MIT License - see the LICENSE file for details.
๐ก๏ธ Make your application safer with pure-flow-ai!
If you found this project useful, please consider giving it a โญ๏ธ on Github and sharing it with your friends!
FAQs
๐ค Smart text analysis package for detecting positive and negative words with AI support. Features customizable word lists, multiple languages, and AI-powered sentiment analysis. Perfect for content moderation, sentiment analysis, and text filtering in an
The npm package pure-flow-ai receives a total of 2 weekly downloads. As such, pure-flow-ai popularity was classified as not popular.
We found that pure-flow-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.