Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

naughty-words

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

naughty-words

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

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.8K
increased by8.34%
Maintainers
1
Weekly downloads
 
Created
Source

naughty-words-js

A Javascript package to use the List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words

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);

FAQs

Package last updated on 19 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc