piggytalk
v1.0.5
Published
A whimsical Node.js module that takes English sentences and playfully converts them into Pig Latin, adding an oink-tastic twist to your conversations!
Downloads
7
Maintainers
Readme
PiggyTalk
NPM Package 🐷💬
A simple yet oink-citing Node.js module that converts English sentences to Pig Latin. Now you can talk like a pig, or at least in Pig Latin! 🐷
🚀 Installation
Install PiggyTalk using npm:
npm install piggytalk
👩💻 Run Locally
If you want to run the module locally, you can follow these steps:
- Clone the repository to your local machine.
- Navigate to the repository using your terminal.
- Run the script with Node.js. For example:
node index.js
📖 Usage/Examples
First, require PiggyTalk in your script:
const piggyTalk = require('piggytalk');
Then, you can convert any English sentence to Pig Latin:
console.log(piggyTalk("I do not need to get a new kitten"));
// Output: Iay oday otnay eednay otay etgay aay ewnay ittenkay
console.log(piggyTalk("I am so excited to go to the zoo"));
// Output: Iay maay osay xcitedeay otay ogay otay hetay oozay
console.log(piggyTalk("I love coding in JavaScript"));
// Iay ovelay odingcay niay avaScriptJay