List of 1727 (possible) English profane words.
See cuss for the same words, rated for sureness: how likely it is to be used as either profanity or clean text.
npm:
npm install profanitiesprofanities is also available as an AMD, CommonJS, and globals module, uncompressed and compressed.
var profanities = require('profanities');
profanities.length; // 1727
console.log(typeof profanities[0]); // 'string'Type: Array.<string> — profanities exposes a list of strings.
profanities supports 1727 English profane words and phrases. For a complete list, see support.md (:warning: this file contains (very) offensive terms).
Note that the words listed in profanities might not be profane in certain contexts.
Part of the list is scraped from Luis von Ahn’s Research Group (Carnegie Mellon). I could not find any license information on that page.
Another list is based on the “List of ethnic slurs” from WikiPedia.