9.8.75 β€’ Published 12 months ago

@zitterorg/totam-quos-dolorem v9.8.75

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

About Antibiotic πŸ’Š

The right medication to care your sentences from unwanted words by censoring or cleaning them. Strong against common bypass methods like using different fonts or symbols between words. 0 dependencies!

Installation

npm i @zitterorg/totam-quos-dolorem

Replace

const { Antibiotic } = require('@zitterorg/totam-quos-dolorem')
const @zitterorg/totam-quos-dolorem = new Antibiotic();

const string = 'Here is a sentence that tries to share a fishy link https://example.com/login, but dont worry it will get censored even when you try to bypass it like t-h.1.$, thhhhiiiisss, 𝔱π”₯𝔦𝔰, π•₯π•™π•šπ•€ or α΄›ΚœΙͺꜱ.'
const array = ['https://*', 'censor', 'this']

const censoredText = @zitterorg/totam-quos-dolorem.replace(string, array)
console.log(censoredText)
// > Here is a sentence that tries to share a fishy link #@****@##@*#*#***##@*@# but dont worry it will get ***@@#ed even when you try to bypass it like @#*@ #@@# *@@* or #@**

Custom Replacement Symbol

const replacement = '*'

const censoredText = @zitterorg/totam-quos-dolorem.replace(string, array, replacement)
console.log(censoredText)
// > Here is a sentence that tries to share a fishy link *********************** but dont worry it will get ******ed even when you try to bypass it like **** **** **** or ****

Partial Matching

Use * at the beginning or end of a word for partial replacement

const string = 'Carpet | JavaScript | Wholegrain | Together'
const array = ['*pet', 'java*', '*leg*', 'get']
const replacement = '*'

const censoredText = @zitterorg/totam-quos-dolorem.replace(string, array, replacement)
console.log(censoredText)
// > ****** ********** ********** to***her

Convert

const { Antibiotic } = require('@zitterorg/totam-quos-dolorem')
const @zitterorg/totam-quos-dolorem = new Antibiotic();

const string = 'α»†αΆΗαΆ†αΉ”ΖšΓ‰ β„­π”©π”’π”žπ”« 𝓾𝓹 π•₯π•™π•šπ•€ πŸ†ƒπŸ…΄πŸ†‡πŸ†ƒ'

const cleanedText = @zitterorg/totam-quos-dolorem.convert(string)

console.log(censoredText)
// > ExAmPlE Clean up this text
reduxhardlinksInt32ArrayexpressionserializesuperstructtelephoneArray.prototype.findLastreplaybundlingES5esdeep-copydirectorymergeconfigjsxbluebirdsortsqsreadablestreamECMAScript 6Symbolshebangcss variablesortedES2020matches2015snstasknegativedynamodbsyntaxerrorstableglobBigUint64Arrayes-shimslimitedfunctionclass-validatorfluxcommandprototypeenvutilitiesdescriptorfigletclientimmutablejsdiffio-tstslibeast-asian-widthauthenticationinimportexportgdprless compilercryptTypeScriptPushgetopttypedarrayfastcopyJSON-SchemaindicatorStreamtapejestcallbounddateworkspace:*estreeRegExp#flagsemrsharedvalidatechailesscssbyteOffsetRxnpmtypeofRFC-6455testerinstallinternal slotmatchAllpatch.envbannervisualequalityreactdeep-clonemochareadcallweakmapratelimittapdayjsnodelastmime-dbenderES2022gradients csskeywatching__proto__idleserializermakecall-bindreact-testing-librarydeepFunction.prototype.namecore-jsexpresskeysdom-testing-librarycloudwatchObject.valuesES2018setterformsArrayBufferes2016importl10nnested cssassertioniteratorec2Object.isHyBinamesrecursiveajaxIteratorerrorregular expressiontypethrottleES3pipecomparesymbolMapWeakSetobjectArrayBuffer#slicedomcssdataqueuekinesisfindLastIndexopenFloat32ArraystdlibpromiseRxJSslotperformantstoragegatewayconcurrencyUnderscoreES2017rmspecfunctionsvalidationcoerciblevaluespropertyes-abstractshamasserttoStringTagpersistentinputmimeparentmatchesprivate databindparentsES2021concatMapdefinePropertyprivatethroatES2016resolveruntimefolderYAMLfilterwordbreaki18nisConcatSpreadablejavascriptsimpledbmapauthoncefast-cloneformatpropertiesrm -frtsqsequalprefixstylegenericstestsymbolsbundlersometoobjectparserObjectfindworkerrfc4122tddphonemetadatasetlimitmonorepoURLSearchParamsbatchwhatwgasyncgraphqlECMAScript 2021colorsECMAScript 2018Object.getPrototypeOfargumentreducerartapolloserializationwordwrapparsetostringtagstyleguideES7pyyamlmiddlewareECMAScript 2023es7getintrinsicfullomitpostcsshigher-orderisoptionString.prototype.matchAllwebpositivewidthupspinnersbusyuuidInt8ArraysafeencryptionpicomatchcensoraccessibilitynumbercreateregularasciitrimLeftstyled-componentslook-upajvawesomesaucehasrdsflagshotprettyes-shim APIeslintpluginpackagesJSONredactassertscorssymlinksmkdirp-0airbnbautoprefixerstructuredClonewatchtrimEndtoolkitcloudfrontrandomconnectsearchconfigurablelessstatetypanionmimetypessescontainsgetterbrowserslistArray.prototype.flatiamoptimizertrimpluginstringifieryamlarraysES2023ES6karmaperformancefpsyupes6deletecheckfastjapaneseassigncolorrmdirES2015collectionextrafindupSymbol.toStringTagchromefastifyflattenclassesextensionextendwritablelooklinkwafqueueMicrotaskawsawaitbuffersdescriptionfindLastworkflowArray.prototype.flatMapmake dirconsoletc39espreeObservablepackage.jsonvestfast-deep-copyECMAScript 3Int16Arraywgethookformefficientutil.inspecttermwatcherdebuggerinferencetoArrayvalidfind-upwatchFileobjenumerablewalkingECMAScript 2022multi-packagestreamfileECMAScript 2017flatMapliveoutputreadablecall-boundredirectcodesfunctionalObject.fromEntriestrimStartfseventstypescriptgroupByObservabless3chromiumArray.prototype.findLastIndexcss lesscurles2017code pointsprogresstextcommanderUint8ArraycloudsearchTypeBoxsameValueZeroUint16Arrayduplexcharactersspinner
9.8.75

12 months ago

9.8.74

12 months ago

9.8.73

12 months ago

9.8.72

12 months ago

9.8.69

12 months ago

9.7.69

12 months ago

9.8.71

12 months ago

9.8.70

12 months ago

9.7.67

12 months ago

9.7.66

12 months ago

9.7.68

12 months ago

8.7.63

12 months ago

8.7.64

12 months ago

9.7.65

12 months ago

9.7.64

12 months ago

8.7.61

12 months ago

8.7.62

12 months ago

7.5.39

1 year ago

5.5.30

1 year ago

8.6.61

12 months ago

8.6.60

12 months ago

7.5.40

1 year ago

7.5.41

1 year ago

7.5.42

1 year ago

7.5.43

1 year ago

7.6.55

1 year ago

7.6.54

1 year ago

7.6.53

1 year ago

7.6.59

1 year ago

7.5.48

1 year ago

7.6.58

1 year ago

7.5.49

1 year ago

7.6.57

1 year ago

7.6.56

1 year ago

7.5.44

1 year ago

7.5.45

1 year ago

7.5.46

1 year ago

7.5.47

1 year ago

5.5.33

1 year ago

5.5.34

1 year ago

5.5.31

1 year ago

5.5.32

1 year ago

7.5.51

1 year ago

7.5.52

1 year ago

7.6.60

1 year ago

7.5.53

1 year ago

6.5.35

1 year ago

6.5.34

1 year ago

6.5.37

1 year ago

6.5.36

1 year ago

6.5.39

1 year ago

7.5.50

1 year ago

6.5.38

1 year ago

5.5.29

1 year ago

5.5.28

1 year ago

5.5.27

1 year ago

4.5.25

1 year ago

4.5.26

1 year ago

4.5.27

1 year ago

3.4.25

1 year ago

3.4.24

1 year ago

3.5.25

1 year ago

3.3.18

1 year ago

3.3.19

1 year ago

3.4.20

1 year ago

3.4.21

1 year ago

3.4.22

1 year ago

3.4.23

1 year ago

3.2.15

1 year ago

3.2.14

1 year ago

3.2.17

1 year ago

3.2.16

1 year ago

3.2.18

1 year ago

3.3.20

1 year ago

3.2.13

1 year ago

3.1.13

1 year ago

3.1.12

1 year ago

3.1.11

1 year ago

3.1.10

1 year ago

3.1.9

1 year ago

3.0.9

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago