
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
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 0 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.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socketโs new license overlays: gain control, reduce noise, and handle edge cases with precision.