thonk

1.0.1 • Public • Published

Thonk.js

An npm package for when you just gotta thonk
npm

Why Tho ⁉️

Have you ever just feel the need to THONK? well look no further! Join me on my journey with this gross misuse of natural language processing to replace every appropriate verb and adjective in a string with the words THONK or THONKING! 🤯🥳💯

Usage

Install

npm install --save thonk

Example

const thonk = require('thonk')
const string= "going to the park while walking eat"
thonk.thonkify(sting).then(data => console.log(data))
// will output:
// thonking to the thonking while thonking thonk

API

thonk.thonkify(string,callback)
Returns a thonked string\

thonk.chonkify(string,callback)
Returns a chonked string

Note: Because I am using an NLP (natural language processing) API to detect the words to replace, calls are async and must be treated as such.

Contributing

I welcome any contributions to this project! If you want to make a contribution feel free to open a pull request on github!

Contact

Email: srobensparadise@gmail.com
Website: sammyrp.com
Portfolio: sammy.world

Package Sidebar

Install

npm i thonk

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

3.33 kB

Total Files

3

Last publish

Collaborators

  • sammyrp