npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

naughty-words

v1.2.0

Published

An npm package to use the List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words

Downloads

40,846

Readme

Our List of Dirty, Naughty, Obscene, and Otherwise Bad Words

With millions of images in our library and billions of user-submitted keywords, we work hard at Shutterstock to make sure that bad words don't show up in places they shouldn't. This repo contains a list of words that we use to filter results from our autocomplete server and recommendation engine.

Please add to it as you see fit (particularly in non-English languages) or use it to spice up your next game of Scrabble :)

Obvious warning: These lists contain material that many will find offensive. (But that's the point!)

Miscellaneous caveat: Clearly, what goes in these lists is subjective. In our case, the question we use is, "What wouldn't we want to suggest that people look at?" This of course varies between culture, language, and geographies, so in the end we just have to make our best guess.

Languages

| Name | Code | | ---------------------------------- | ----------------- | | Arabic | ar | | Chinese | zh | | Czech | cs | | Danish | da | | Dutch | nl | | English | en | | Esperanto | eo | | Filipino | fil | | Finnish | fi | | French | fr | | French (CA) | fr-CA-u-sd-caqc | | German | de | | Hindi | hi | | Hungarian | hu | | Italian | it | | Japanese | ja | | Kabyle | kab | | Klingon | tlh | | Korean | ko | | Norwegian | no | | Persian | fa | | Polish | pl | | Portuguese | pt | | Russian | ru | | Spanish | es | | Swedish | sv | | Thai | th | | Turkish | tr |

Install

You can add the list to your client side project using Bower.

$ bower install --save naughty-words

You can add the list to your Javascript project using NPM.

$ npm install --save naughty-words

Usage

Browser

In the browser you can use the json files directly with a get request:

<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script>
  var deutsche;
  $.getJSON("bower_components/naughty-words/de.json", function (deutsche) {
    console.log(deutsche);
  });
</script>

Node

You can require the json file directly.

var deutsche = require("naughty-words/de.json");
console.log(deutsche);

You can browse the languages by requiring the whole module.

var words = require("naughty-words");
console.log(words);
console.log(words.de);

See also the list of projects, documents, and organizations that use these lists.

© 2012–2020 Shutterstock, Inc.

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.