JSPM

  • Created
  • Published
  • Downloads 1476
  • Score
    100M100P100Q154817F
  • License WTFPL

profane words

Package Exports

  • profane-words

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (profane-words) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

profane-words


Aiming to be a comprehensive list of profanity in English.

For other languages, you may wish to check here and here.

Installation: npm i -S profane-words

Usage:

import words from 'profane-words'
const arg = process.argv[2]

if (words.includes(arg.toLowerCase())) console.warn('Watch your mouth.')

Why: blacklisting words for whatever reason, probably.

License: WTFPL