Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
badwords-ts
Advanced tools
Readme
A badwords-js alternatives
Do you ever need to use more filters for different languanges than english? Ever though that some of your languanges is not supported by badwords-js
? This package will fix those problems for you. By having a list of bad words in clouds, you can load it on the go. An example of the settings can be found in badwords-ts.settings.json.
It use singleton so all the settings for the instance can be use all around the projects. For using the instance, just use the instance
property from BadwordFilter
class.
import BadwordFilter from 'badwords-ts';
///
// Using the singleton instance
BadwordFilter.instance;
///
BadwordFilter.instance.clean('just a bad word');
// By default is using asterisk (*)
BadwordFilter.instance.placeHolder = '#'; // It will change censors to # instead of *
BadwordFilter.instance.addWords('txt', 'asd'); // Will mark 'txt' and 'asd' as a bad word
BadwordFilter.instance.removeWords('txt', 'asd'); // Will mark 'txt' and 'asd' as not a bad word
BadwordFilter.instance.isProfane('bad'); // Will return a boolean
BadwordFilter.instance.downloadWordBank();
BadwordFilter.instance.loadWordBank();
FAQs
badword js alternatives
The npm package badwords-ts receives a total of 0 weekly downloads. As such, badwords-ts popularity was classified as not popular.
We found that badwords-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.