{"_id":"toxicity-analyzer","_rev":"39-dc0ae781759f0ade873de9bf3be0ad3d","name":"toxicity-analyzer","dist-tags":{"latest":"5.0.0","beta":"3.0.0-beta.12"},"versions":{"1.0.0":{"name":"toxicity-analyzer","version":"1.0.0","description":"A package to analyze text for profanity and many other things","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["Ai","Text-Analysis"],"author":{"name":"Sebastian Mostert"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"googleapis":"^110.0.0"},"gitHead":"83a528d5825c0b9422f806625477e6708a699438","_id":"toxicity-analyzer@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-FBfHHbCiWYS40g1pp0M/EQBrb6NqTLNLcL7Dbp3qdyLCGg+cZMCf1qURn3kH3H5aF9CA5jkDfBy//z2FJ/laDg==","shasum":"2682bbe4a410cd8bc7ae113934f744f01bb69d35","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-1.0.0.tgz","fileCount":4,"unpackedSize":5998,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBc5zgqLadzvcQtoB0rCvxVL7mjAvJAxUmdQpfcO3bW6AiBxd8raS/F3LXmqNiGfUyvphoo30SsiNASWGEWoYlfNoQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvuV8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzuA/+JWUUi/QWIVesYSIyzqxRHWZQo0K/0rUFpNhkUJjcWrZNsBuk\r\ngMWqAg/yDApoAouBwai06j5YBRcBL3uEEKu8igXo9OEVTd+fkjzLkUQuyr2J\r\nG4ReYiwEZMMipk9K7STpRqnlsJ1NfFWvERPJZZ8Jn7k/JjLnEPgi6GlNOArm\r\nDGbijktOZnpWOXFL0A10N5POicUVZpDvJmWEUL4DWYbV2rcpRsu3IdnEE4el\r\ndi4Sd2R8aKNyjv2oKUHb+uSEJP7jQEpOkFe7/p09mUKHEOjbD55EfdnF5bu5\r\nOI/N3uEY7tXgfZls7P8NW1FG0v1AQRHfc+bUJr+SYIhUPHD3kfOreuR8blzd\r\ncAMlqEsBTrD6DjJGAFF1KJaFSNAS0q7G9XCgfWXp93/2f2i9yu0OD6JxIW4X\r\n/dMSublub1pas85QmQNjuHvo38NobkXuzth8N4VIc/1/ou5OpL2cIxbdGRN7\r\nSQk9utYcEQf2FMbLjCOITi2LSu8fTxEh3+/Vyw1Mntt47SQ4Z+Z2bkw6/Vw2\r\nUiTo7/cVihMRG8VOOX3OZJeXm7Nkhb84bdLG3/euSpyQOFm6cPLLCjIwlbKG\r\nrggWCDLtQTsd8p68fQhAVhTkexNGrzcccP1XnrpX+GZwAo2k1RiKtB6D4jYY\r\nJpWE2R5Xa81uOWb69SPzbuPobJI7I0JFeoE=\r\n=rhFc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_1.0.0_1673454972418_0.1965618619638816"},"_hasShrinkwrap":false,"deprecated":"Version no longer supported. Upgrade to @latest"},"1.0.1":{"name":"toxicity-analyzer","version":"1.0.1","description":"A package to analyze text for profanity and many other things","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["Ai","Text-Analysis"],"author":{"name":"Sebastian Mostert"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"googleapis":"^110.0.0"},"gitHead":"7da502b526a8d2797032993a041a07c177493b4e","_id":"toxicity-analyzer@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-e5boBY3Q7w3XkI/GxB+/gEJfZPI4EnVojOQKfv6MbhjG2m6ZsqcVekXKkdHcDTi6eSF2EBWTW5IPyoz0pxXuUg==","shasum":"8c118b17a6ee851004ea61095a5f2d8e4c76d22a","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-1.0.1.tgz","fileCount":4,"unpackedSize":9922,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkLeLRub4rRN1byO+Fu2wiRwjTqzPd8P6VPFFUdwGooAiAUGV3zvIqsGxEY9vIJ4EfOz2TZRKzTpnwAtOXPwjwZgg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvu5MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoePQ//dJG5Tw/wxdWW8Znddy6bEDMze9HFEC14e5dJTObAvqgYe2fb\r\n0kj4dbVpwflbUyLtjoFZvR4aEYuCOhAqTp4gFOXh7/+iy5NqON4MPi2Mueok\r\nthDRt1KxhVf88SyPltfL4xkFs/fLQsJUCdv2LzQyL74Ke42RX0mkHbQSmqZ5\r\nkTQzx4leXD+UeAQk982QBFvRNMYqI5cscV68kTWn4oslVUz4r+FjEIjy7ikw\r\nDeQUEKEy1h2UAp7KRTG04XMtH2gfwQm4ajKdPWk4ra44U4RHOSjlNaAFnH18\r\nrHWmI0v6CNCFqYrOJeA30mm6gGo6nJ8Utv8lDfwa0Jy+QV4HMmOCqtOd/f2j\r\nP8RAPXmyQbxTV7l5lUcMqAQQa+Yw7nLfcxaedS4g2aemD/BulEXRjFzxloiz\r\nc/ogSuRo7HvhBT8mQxyfGaZ3Lc1piTsAH7XoW1Urx4ODJGUkj21S+MkGlDOP\r\nw59UsQvcdTzjXHLfSEh5sZjZ0dDpEPE2GB66MwZhsOQ9Xbht0143mbjrTFMT\r\ne8SasDyekabzQkE7FCm/bE2+X5qHiQNUtlnJxWtM178EtjqhIcCbMgrfGXMB\r\nEJbIFNxtDyzC3y5hInlpCooIT6aCjYOxQJAjHABMyp7cPTkI7jM9yRR7isGU\r\nEc9uJ+NowU9m71MKR51VGjoec1L6vH6J2N8=\r\n=S9bh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_1.0.1_1673457228235_0.7650495192591154"},"_hasShrinkwrap":false,"deprecated":"Version no longer supported. Upgrade to @latest"},"1.0.2":{"name":"toxicity-analyzer","version":"1.0.2","description":"A package to analyze text for profanity and many other things using AI","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"googleapis":"^110.0.0"},"gitHead":"d1a80fcd0432417625f84600404f3ece1652346d","_id":"toxicity-analyzer@1.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-FLYLkkrb60g3lMR7l25VUne0gSsbXNee60FhODIvttCUvtNPOpSSD8bTSa7Y0dYrvSHW3S1BYWLbafG+RXK+tg==","shasum":"14b0608b68e8fbc8acd20bc09eb56c9c6b43cd1a","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-1.0.2.tgz","fileCount":4,"unpackedSize":11259,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1rslVd4plp91gATZuohn7uGixnzKyWHNb2SizxFu+EgIgPYxAGacjWWFyClZeo4pQj5yIich5uEBXAMHFP3CVLFo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxWWlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHBA/8CK6KgdsV3b7sIpQAn0j0+7W1JT0gVre212H8bReeUY4nEYs6\r\ndsZ9YpofDjoHO+rclK0LilTNw0dQHxR4jGsbwUnLtbTdnMNeNLLJG08ZkqUb\r\n+u/ImE1T94BLJxAOYsG+OKogw6v38Ja4ktXrLELxr2GigRlcZp/2cllAhBnU\r\nOIupgz8nhy3Y+lpuSaWsxqT3XKDIsiSrfaiIoKeBMwDySS36gHi0BHvFj39W\r\ndQrGWKrcK8EWi2poUDN0iGbeacExrWWpjTmMtilRHex7j+QvqfTW9L5Q+Jkg\r\nodMSJ08u2ibIs4GViTcLb2hnUBD1mUROxHqxBPBq275o3B2ROPZvoJ4cnlDx\r\n2Qg18LAPeXrlZ4UblMQYxQxwHlX8RyjPwmhcXNP9zxTRD/d5TzIHMQE6DQoZ\r\nP646Cj76Bf07lla81/ReGPzP55gL63Pk9j2yTIrvYMmls0MI4frtn5fOJHdD\r\nJjEiPOzcpyN2O9nmxtQlVzJgT3Co4OWmkA2odsmekIN21v6BK4GASFD4Or/I\r\nuvvCA4dDEspMjYtkvgYVJmPu04383eolWOzHBPzIgf2HpD+U9KysTYSf7Fer\r\nJAb1zeTn0F7Y1ZOztkfyunHNtLWbQXZZqdU3g76XZEJ2RvmjzYlUfMml1dpa\r\n9EtnFxL5ugTY2r3QuqnBPeiJvfw+iJ8/AvU=\r\n=djNO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_1.0.2_1673880997466_0.26046385178933584"},"_hasShrinkwrap":false,"deprecated":"Version no longer supported. Upgrade to @latest"},"2.0.0":{"name":"toxicity-analyzer","version":"2.0.0","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"gitHead":"b5c38d436edc34f57ccdf2bdb6e662c96feb4d97","_id":"toxicity-analyzer@2.0.0","_nodeVersion":"18.13.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-7XVqctaKYwF+uvOt9AwXTP78M7cuuCq9s81FcSu5Jop9/EgOqtxTAyuoAK1rKHlg3yATzxVzpIpPDHQo3MlAoA==","shasum":"18a9b75561027253ec1b76197f12874aadad923e","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-2.0.0.tgz","fileCount":4,"unpackedSize":13684,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3WO6+ctetUCWzQH2K5JeXnc53r6k3kisyYPhdmtuUUwIgN2UGqlBxhX9PReG2Tjn+ze0r7u2/sgtN6YCb2tEo8vI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3Qw9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmppvg/9GaE1AvflArv0bg3lnoa3uYqpCME22BLTRx1sUFFWc+Ws0JKO\r\n4m8YmEoMy0fV4gCiZ09KAKJwNGcuATQFHZ+MpRPArEw13/cgPJxplDilWRFy\r\ngzKl/xn6F3j11ZtPwHsCUAnuCkIpecalrYewEzt9YjtqEL1UoeRcXuHBAmXf\r\n5u9rfCTN8EiSA1SlkJ4acPtrbpzuJrBypIbn3lzRMcx73BLEZOtYFYVfUsDY\r\naCMcwh/WLfaoJWI4QekMWP4765Idn4DbZKBqf+AliIvxrNQAhctD2/GPvbOl\r\nVz5L1nHpxXmZwK0P83ULCYpt9ZcXfMtmVkDTvPPXEwgkfk4wXrKgZFpSi2Ar\r\n3Lj8sVM4RJOL+bNUFkYz7fhMlf4HzkM34NVAHBOQCbg7379rst1jx4A87TzQ\r\nvyclp821301VkbGMEAewvcEskc0bk1fAX5MXQurzWprDBVW+PwRRA0Ls9vxH\r\nGMdiK2Bd9Jrg4SKLWNszt9J4cmd4JuRK+jzyYTL0wbZItaZ/DMWZRIMs3xPh\r\nhhMDGX4Bfu4bk+bIn65X3GSbPSdiolVNtWDQS7tyoMkb9Lm9WCyDFFNBypZO\r\nz7cFk9e0cvafgioDKT03FF5r7a161Y/TsRnQ/yTlhY07yHEtuvb/VtFaUChi\r\n8w8OeNgBpyLM9mI9BodxtLlmoXQIujzsPFU=\r\n=FRqH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_2.0.0_1675430973703_0.422154924655318"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"2.0.1":{"name":"toxicity-analyzer","version":"2.0.1","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"_id":"toxicity-analyzer@2.0.1","gitHead":"bd676a53e1110fa0d2df94d5dd501d67e5c1399b","_nodeVersion":"18.13.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-0VdAFr5Qel6VY2qZSbAt8Hi234Z0vo3MRybHXKAoAVSl73kzb1xVUt/IvsfvMnTiJInCCUB06W0h1iEWuPY8hw==","shasum":"52cc4f6c41d34d83c52bdf80b3d55f8a36847bd1","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-2.0.1.tgz","fileCount":4,"unpackedSize":13484,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFdH0Rhfv7kq457ha4cvqXxmwqTaMalA4HXPTdJBzQOAiA8BpdYRMAcp4khURJrrtxBQ7gMcxCpP0pmbbPm/3ZdEQ=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_2.0.1_1689190516136_0.5974441897804088"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0":{"name":"toxicity-analyzer","version":"3.0.0","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"_id":"toxicity-analyzer@3.0.0","readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","gitHead":"bd676a53e1110fa0d2df94d5dd501d67e5c1399b","_nodeVersion":"18.13.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-EbWR52+JZ3l/z/JntYGHXUhQRQI1jWbsiwVPuGWH27Tr/0ID7jENpE/2qSDH79FzoYfLxpbBks/5Nor+dVNeBQ==","shasum":"d137cbbbc0d8062b469f71d0cfaa8d4be29df13e","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0.tgz","fileCount":4,"unpackedSize":13973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9VplOMdlThEsMRc1pCVimlz++ER11WQnoVspkHqXyQAiEA7DaFXMuiIVrj3+FQqhz5qCjEjSAiCY7h7w6BGfupD3Y="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0_1689201424238_0.4636795090196322"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.1":{"name":"toxicity-analyzer","version":"3.0.0-beta.1","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.1","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-kNEKlVIKC1Lqhu0rb0/MGYP6zjp2d9WEvEsw0VkakHKZPXoyDV7lsDMP6E4SLixYESubTcI9i3ZEoLwhtuTNCQ==","shasum":"81853893e3b9248b767ebf9b589aa98c9c44bfc8","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.1.tgz","fileCount":7,"unpackedSize":16720,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESFnb4Am9pDOF+fQDQNJHOo/Qc1K1T+oVPBaqmeHbX9AiAJw6MSdkanbpqahI9qMcbJQ3OHi5bYtuSN09lBrQiZuA=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.1_1689520067439_0.6874987210813215"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.2":{"name":"toxicity-analyzer","version":"3.0.0-beta.2","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.2","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-O43G9phho7opM/hRw+Y1glKJcjF3KJI5MVTAC+z2Br8C4t1ZHxSczepGWo34z+iYpfaHrA5Hv5pcfG3aHIgOVQ==","shasum":"0bd55f926bb4747de5d0ab07c05b54d683022c96","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.2.tgz","fileCount":7,"unpackedSize":16726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5xe7WNntQ2fhkmAkyOSuKOEtdxlkaYe1C7qocudO4qQIgBazJ32C+XLCiZ7cwVOthrRxw4uMLTRWwMBqpzHqIVck="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.2_1689520152436_0.19384694794097768"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.3":{"name":"toxicity-analyzer","version":"3.0.0-beta.3","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.3","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-5qa3qJux4YUNo0rOSmGeHv4hDxxnIl/cc68mwtd7JfzOwKuCVq/OKK6xbkPcAUvDzLln7qPBdDpMfswouYk8oA==","shasum":"cb9a946a4447ce0ef4092b2efe770c48e1fe016a","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.3.tgz","fileCount":7,"unpackedSize":16729,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvMIothejC90iuesk5twtCaB/i9xNxhOHOPvk1LM3LWAiBx32Me/4jGTCNYlrRVzHCCdZGl97zS07rbV00egLXPaw=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.3_1689521055918_0.30387206513163334"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.4":{"name":"toxicity-analyzer","version":"3.0.0-beta.4","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.4","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-oi7HWJ2Buc4bhtSqV6r9RGbCbQS09h+H/PvdNujiOJypcsuM+cqufOBWxZPpc3ei7yhWRLMoEfSCuIlLw8yuig==","shasum":"c0fb572d9be7d4f760f870642c825f112e3d91ad","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.4.tgz","fileCount":7,"unpackedSize":17453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfPOfeNMSRpwovWhvgnLkWgmhbNxWyQho9j2/900q0/gIgHWV8nrsTek/Fd0Z7WQo14x9Ir1iblJhpob/Qf06ch30="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.4_1689521096490_0.05424651883858478"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.5":{"name":"toxicity-analyzer","version":"3.0.0-beta.5","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.5","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-2nvWpANJkwz0HSMtF3q5zruOEgbxCt3LnmDwAqFtFWGEPDGwjpaojJ8i0aARK5rJyX/EkCqaxx3eh4bqHHRjRQ==","shasum":"10f29d600dc4e3808519abc45380a023895f4021","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.5.tgz","fileCount":7,"unpackedSize":17746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqWCrZj3HYyyyKhmxlji6vOX8UFpaTpweKEvKgzgVqvAiBbTHqZumo3qpuYluWhE/It2BknZ+QXbB9hT6knNfp4Cg=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.5_1689521402691_0.9643439224471768"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.6":{"name":"toxicity-analyzer","version":"3.0.0-beta.6","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.6","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-5oUo8PGqFYWRb2sE+zpsdbob3dtOBEElu7Qzn2c41pw3gpg/zyUEgRK2MipdmRdR5lMU+V2STOrBY+rflKxseQ==","shasum":"2ae1e76b8bff1989e4e54d5f3f7df0b2626ec7ba","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.6.tgz","fileCount":7,"unpackedSize":17751,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFcJ9054/BhkCCNtW+gfQ/b1t5qYjMyftAOxvoUnRpaQIgZHG0iCwkEZ7OKTPFab2oyR06Kyijo5AmjzaI1h9nPgc="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.6_1689521542697_0.5336444595007848"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.7":{"name":"toxicity-analyzer","version":"3.0.0-beta.7","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.7","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-Bc9ZY9kjkom7fF6hfaPm9UfcYUzNeCxwROhLChVjgYvsz5t7Gf33OIJErCSigYOGtlkgAoqBsEnvpX7Nf9oiDA==","shasum":"ebd6ea72674a7e0d2d1765a9c6378a6199ab1542","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.7.tgz","fileCount":7,"unpackedSize":18001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/+QnLswYTxvxZTWdDXmIboOYxcWS4FaRncsgUYfRiaAiBc5nORGb+88zJFXgKlITwIqpbKrsQ1je5897M8mqNohg=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.7_1689521956444_0.6482510901232585"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.8":{"name":"toxicity-analyzer","version":"3.0.0-beta.8","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.8","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-5MHFJJPBXAxSzgfip2D0pcCC7zYN8RIYiO+d9wKYCQXhmqxlAuER/DqGfQACbdoznPxxCBshi3Xrs3lCFjnrrg==","shasum":"1799ba62532d83d5ac61091095121a82c178ab37","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.8.tgz","fileCount":7,"unpackedSize":18013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIGG1PuKiHA9GJ8KT4qVOKq1qSDN/nMmSA8qgAZmbmZQIgXGdszlm4NLCxWOozxPuVqiUIL9sSkROmEX+yiu8W/mI="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.8_1689522087434_0.6842028485083984"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.9":{"name":"toxicity-analyzer","version":"3.0.0-beta.9","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.9","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-+hjmAxNIK0VQgBXWLy9VOh89fBpqG4z+hh7tGVFPkDSM7arjCNH+P0PaMYWvWBYM6jH670JIr91EimmiWnIv9Q==","shasum":"bebb5137f7cb3a0f7519b452252169b19a546941","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.9.tgz","fileCount":7,"unpackedSize":18056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArbqG373SxVHpRjobBKhaca/GrNod/ba2qDKiPdAPvEAiEAsVdou7gzXvZzQmyqhseMZwBDgA0LrfoBvhcViPfV72Q="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.9_1689522645001_0.8083905598166177"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.10":{"name":"toxicity-analyzer","version":"3.0.0-beta.10","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"devDependencies":{"@types/axios":"^0.14.0","typescript":"^5.1.6"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.10","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-l4Cka2CmZrVFa8K++jR0Dl1ebQWWPq25EYCUNeJIJn+Dn4xJ9Y+RBz/seF9Psj4qS7l16jVXcjQ9Ysi8Ktf/iQ==","shasum":"b260feac0a892f3f3a4d7cf0ca92128a9b76ec27","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.10.tgz","fileCount":13,"unpackedSize":24404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRyURKHNtNvV9mKx9/2oP95gFe9s6Og34oxPZ9NTAukAiAFRxEI/P6w+yBUOwLQ+JhuqTkUzJ+Y+3KGMRopVJCGcw=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.10_1689525697123_0.12108648667398492"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.11":{"name":"toxicity-analyzer","version":"3.0.0-beta.11","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"devDependencies":{"@types/axios":"^0.14.0","typescript":"^5.1.6"},"readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.11","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-mOYMsV/5ZrE65GolNBI2UekaJqKVBgXC8TrWP5BJPiG6J9m+6HhWfrL+Im+RrWIEU33Xg5XyNXEJlJ6O10jmzA==","shasum":"eb1f140eb65d4125d3c4b4b831b44e3f010e88fa","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.11.tgz","fileCount":12,"unpackedSize":24275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUyrQnBUzXXKBGtn6fYMBwYbN0FkFABOov5SqL02N64wIhAI6yrjyYn8KD+WqiwBbelIjFwVRntP4x3oByVhwY4OEK"}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.11_1689526396211_0.6668065338495788"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"3.0.0-beta.12":{"name":"toxicity-analyzer","version":"3.0.0-beta.12","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"devDependencies":{"@types/axios":"^0.14.0","typescript":"^5.1.6"},"types":"./dist/index.d.ts","readme":"\n# Toxicity Analyzer\n\nThis package allows you to analyze text for toxicity, profanity and many other things!\n## Usage/Examples\n### Options\n#### Attribute Thresholds\n| Name                \t| Type   \t| Description                                                           \t| Available Languages                                                             \t|\n|---------------------\t|--------\t|-----------------------------------------------------------------------\t|---------------------------------------------------------------------------------\t|\n| TOXICITY            \t| Number \t| Indicates whether the text was considered Toxic                       \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn, <br>id, it, ja, ko, pl, pt, ru, es, sv \t|\n| SEVERE_TOXICITY     \t| Number \t| Indicates whether the text was considered Severe Toxicity             \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| IDENTITY_ATTACK     \t| Number \t| Indicates whether the text was considered an Identity Attack          \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| INSULT              \t| Number \t| Indicates whether the text was considered an Insult                   \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| PROFANITY           \t| Number \t| Indicates whether the text was considered profane                     \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| THREAT              \t| Number \t| Indicates whether the text was considered a threat                    \t| ar, zh, cs, nl, en, fr, de, hi, hi-Latn,<br>id, it, ja, ko, pl, pt, ru, es, sv  \t|\n| SEXUALLY_EXPLICIT   \t| Number \t| Indicates whether the text was considered as sexually explicit        \t| (Experimental)                                                                     \t|\n| FLIRTATION          \t| Number \t| Indicates whether the text was considered flirtatious                 \t| (Experimental)                                                                   \t|\n| SPAM                \t| Number \t| Indicates whether the text was considered spam                        \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_AUTHOR    \t| Number \t| Indicates whether the text was considered as an attack on the author  \t| (Experimental) en                                                                              \t|\n| ATTACK_ON_COMMENTER \t| Number \t| Indicates whether the text was considered as an attack on a commenter \t| (Experimental) en                                                                              \t|\n| INCOHERENT          \t| Number \t| Indicates whether the text was considered incoherent                  \t| (Experimental) en                                                                               \t|\n| INFLAMMATORY        \t| Number \t| Indicates whether the text was considered inflammatory                \t| (Experimental) en                                                                               \t|\n| OBSCENE             \t| Number \t| Indicates whether the text was considered obscene                     \t| (Experimental) en                                                                               \t|\n| UNSUBSTANTIAL       \t| Number \t| Indicates whether the text was considered unsubstantial               \t| (Experimental) en                                                                               \t|\n\n### Example\n```js\nconst analyzer = require('toxicity-analyzer');\n\nconst attributeThresholds = {\n\tTOXICITY: 0.75,\n\tSEVERE_TOXICITY: 0.75,\n\tIDENTITY_ATTACK: 0.75,\n\tINSULT: 0.75,\n\tTHREAT: 0.75,\n\tSEXUALLY_EXPLICIT: 0.75,\n\tFLIRTATION: 0.75,\n\tATTACK_ON_AUTHOR: 0.75,\n\tATTACK_ON_COMMENTER: 0.75,\n};\n\nconst text = 'This is where you place the text you want to analyze'\nconst apiKey = 'You need to put your perspective api key here! \n\nconst results = await analyzer({\n\ttext, \n\tattributeThresholds,\n\tlanguages: ['en'],\n\tapiKey,\n});\n```\n\n","readmeFilename":"README.md","_id":"toxicity-analyzer@3.0.0-beta.12","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-Oso0F84uSeSBivkxhSdQPalPwPRmnPUYufvFHZnRmagnjPIKBr8Wdgd74ZiJ+RA+jxA8jGtchobxAQLKL7f0OQ==","shasum":"54d3de7f864164d3638687299b057b066c1a1292","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-3.0.0-beta.12.tgz","fileCount":15,"unpackedSize":27232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQTCvRQBQtR12FwRgGfwD679dkMteF2J2KlkoOTVm9nAiEAhD2STmHiDjD8XMq31s8g/YS4FxgudXNB/evytkoj9zo="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_3.0.0-beta.12_1689526787420_0.5285686472824247"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"4.0.0":{"name":"toxicity-analyzer","version":"4.0.0","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/That-Half-Dead-Skeleton"},"license":"ISC","bugs":{"url":"https://github.com/That-Half-Dead-Skeleton/text-analyzer/issues"},"homepage":"https://github.com/That-Half-Dead-Skeleton/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"devDependencies":{"@types/axios":"^0.14.0","typescript":"^5.1.6"},"types":"./dist/index.d.ts","_id":"toxicity-analyzer@4.0.0","_nodeVersion":"16.13.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-88hU0IkV7ShcK8OZtDKyukiqTQ9Nx4jSJiXHF/+NbUL2xttpbX06CcUNi6nq3N3BTOv3VbY7HZeaDH5nuqB8ew==","shasum":"fdab6dc51fca965f16c1dce6f0c1c9acb4c8c7b1","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-4.0.0.tgz","fileCount":15,"unpackedSize":31892,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqvwLCs3cjR9GUn8Bc5bdvdJalp0PNpO//bJk5V75EnAiA5ODqPJcZNuPfVsGqKL9QYTbQJAG41YbXcIghOz04VMA=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_4.0.0_1689528682641_0.7132224005681873"},"_hasShrinkwrap":false,"deprecated":"No longer supported by the API, update to the latest version"},"5.0.0":{"name":"toxicity-analyzer","version":"5.0.0","description":"A package to analyze text for profanity and to detect the rating of an Image using AI","main":"./dist/index.js","scripts":{"dev":"nodemon --exec ts-node src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/sebastianmostert"},"license":"MIT","bugs":{"url":"https://github.com/sebastianmostert/text-analyzer/issues"},"homepage":"https://github.com/sebastianmostert/text-analyzer#readme","dependencies":{"axios":"^1.3.1","googleapis":"^110.0.0"},"devDependencies":{"@types/axios":"^0.14.0","nodemon":"^3.0.2","ts-node":"^10.9.2","typescript":"^5.1.6"},"_id":"toxicity-analyzer@5.0.0","gitHead":"fbf1d46e116234a939edf6e374a5b5d7a7914902","types":"./dist/index.d.ts","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-T/P7WZUuRj8Eksqbw172rhSyThvj6SSLoPwZCdsAiE7fiYe9Y+45hesFBeamaV3iEXf8m1/fvq+XyioDMY5V2g==","shasum":"41ab965d5c36700adb48c41389e792b7aa3f4da0","tarball":"https://registry.npmjs.org/toxicity-analyzer/-/toxicity-analyzer-5.0.0.tgz","fileCount":9,"unpackedSize":14658,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5QqcqBQ3lu2Vv6U4pOtStWInznE1uXPy8r37j1RZwyAiA4wQWcHfDigvHwtIm3esUFsL3YWT/czpBoWKSal9WrUA=="}]},"_npmUser":{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"},"directories":{},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toxicity-analyzer_5.0.0_1703182225877_0.00028745559266241116"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-11T16:36:12.417Z","1.0.0":"2023-01-11T16:36:12.594Z","modified":"2023-12-21T18:27:35.817Z","1.0.1":"2023-01-11T17:13:48.419Z","1.0.2":"2023-01-16T14:56:37.634Z","2.0.0":"2023-02-03T13:29:33.862Z","2.0.1":"2023-07-12T19:35:16.276Z","3.0.0":"2023-07-12T22:37:04.398Z","3.0.0-beta.1":"2023-07-16T15:07:47.608Z","3.0.0-beta.2":"2023-07-16T15:09:12.609Z","3.0.0-beta.3":"2023-07-16T15:24:16.261Z","3.0.0-beta.4":"2023-07-16T15:24:56.731Z","3.0.0-beta.5":"2023-07-16T15:30:03.022Z","3.0.0-beta.6":"2023-07-16T15:32:22.892Z","3.0.0-beta.7":"2023-07-16T15:39:16.600Z","3.0.0-beta.8":"2023-07-16T15:41:27.571Z","3.0.0-beta.9":"2023-07-16T15:50:45.188Z","3.0.0-beta.10":"2023-07-16T16:41:37.317Z","3.0.0-beta.11":"2023-07-16T16:53:16.401Z","3.0.0-beta.12":"2023-07-16T16:59:47.607Z","4.0.0":"2023-07-16T17:31:22.808Z","5.0.0":"2023-12-21T18:10:26.044Z"},"maintainers":[{"name":"sebastian_mostert","email":"sebastianmostert663@gmail.com"}],"description":"A package to analyze text for profanity and to detect the rating of an Image using AI","homepage":"https://github.com/sebastianmostert/text-analyzer#readme","keywords":["toxicity","toxicity-detector","badwords","text-analysis","text-toxicity-detector","content toxicity detection","image analysis","image analyzer"],"repository":{"type":"git","url":"git+https://github.com/That-Half-Dead-Skeleton/text-analyzer.git"},"author":{"name":"Sebastian Mostert","email":"sebastianmostert663@gmail.com","url":"https://github.com/sebastianmostert"},"bugs":{"url":"https://github.com/sebastianmostert/text-analyzer/issues"},"license":"MIT","readme":"# Toxicity Analyzer\r\n\r\nPerspective Analyzer is a TypeScript library that provides a convenient interface to analyze text and images using the Perspective API. The library includes modules for text and image analysis, offering a comprehensive solution for content moderation.\r\n\r\n### Analyzing Text\r\n\r\n```typescript\r\nimport { PerspectiveClient, AnalyzeCommentOptions, AnalyzeCommentResponse, SupportedLanguage } from 'perspective-analyzer';\r\n\r\nconst perspectiveApiKey = 'YOUR_PERSPECTIVE_API_KEY';\r\nconst rapidApiKey = 'YOUR_RAPID_API_KEY'; // Optional\r\n\r\nconst client = new PerspectiveClient(perspectiveApiKey, rapidApiKey);\r\n\r\nconst options: AnalyzeCommentOptions = {\r\n  comment: 'Your text goes here',\r\n  language: SupportedLanguage.English,\r\n  autoLanguage: true, // Optional, default is false\r\n};\r\n\r\ntry {\r\n  const result: AnalyzeCommentResponse = await client.analyzeComment(options);\r\n  console.log('Analysis result:', result);\r\n} catch (error) {\r\n  console.error('Error analyzing text:', error.message);\r\n}\r\n```\r\n\r\n### Analyzing Images\r\n\r\n```typescript\r\nimport { analyzeImage, ImageAnalyzerOptions, ImageAnalyzerResponse } from 'perspective-analyzer';\r\n\r\nconst options: ImageAnalyzerOptions = {\r\n  apiKey: 'YOUR_MODERATE_CONTENT_API_KEY',\r\n  proxyURL: 'https://www.exampleImage.com',\r\n};\r\n\r\ntry {\r\n  const result: ImageAnalyzerResponse = await analyzeImage(options);\r\n  console.log('Image analysis result:', result);\r\n} catch (error) {\r\n  console.error('Error analyzing image:', error.message);\r\n}\r\n```\r\n\r\n## Error Handling\r\n\r\nThe library provides various error classes for better error management. Make sure to handle errors appropriately in your application.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n","readmeFilename":"README.md"}