Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 404 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 404 Bytes

CockneySlangIt

Do you speak British?

This utility replaces English words with their cockney rhyming slang counterparts.

Usage

To get started, please install this package;

npm install cockneyslangit

Next you can use it as follows;

const { cockney } = require('cockneyslangit');

Example;

//input
cockney("I am married.")

//becomes
"I am cut and carried."