warui

0.2.0 • Public • Published

Warui

npm version codecov CircleCI

A JavaScript library to detect bad words. It uses the Urban Dictionary API and a built in dictionary.

Usage

Warui requires axios to work.

Install as an npm package

npm install --save axios warui

Then import or require the instance.

or via CDN

https://unpkg.com/warui
https://unpkg.com/axios

Then use as Warui or window.Warui

API

Warui.classify(term: String, threshold: Number): Promise<Boolean> Classify is an async function

License

Released under MIT

Readme

Keywords

Package Sidebar

Install

npm i warui

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

192 kB

Total Files

7

Last publish

Collaborators

  • rayraegah