has-swear

1.1.1 • Public • Published

has-swear

Lightweight module to check if a given string has a swear word in it

Inspired by has-emoji

Installation

npm i -s has-swear

Usage

let check = swear('test')
console.log(check) // false

/has-swear/

    Package Sidebar

    Install

    npm i has-swear

    Weekly Downloads

    2

    Version

    1.1.1

    License

    ISC

    Last publish

    Collaborators

    • jacc