1.0.5 • Published 2 years ago

piggytalk v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

PiggyTalk

npm version npm downloads

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:

  1. Clone the repository to your local machine.
  2. Navigate to the repository using your terminal.
  3. 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

Screenshot

1.0.5

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago