yarn add dogeify-js
npm i dogeify-js
You can use this module in your Node project or the CLI.
Usage in a Node project:
const dogeify = ;const str = 'The quick brown fox jumps over the lazy dog. A cat is walking on the street';console; // very fox. very brown. such doge. amaze. many cat. so street. wow.
You can also pass an array to convert to doge:
const arr ='The quick brown fox jumps over the lazy dog.''A cat is walking on the street.';console;/* Returns:['much brown. very fox. such doge. excite.','so cat. very street. amaze.]*/
You can provide an array of words to exclude from the output:
console;// such doge. wow.
Usage in the CLI:
> dogeify The quick brown fox jumps over the lazy dog. very brown. such fox. much doge. amaze.
Will there ever be a browser version? Maybe in the future, if there will be interest.
Contribution is always welcome! Before submitting your pull request, make sure to create the appropriate unit tests and run them:
yarn test # or npm run test
Also make sure that your changes pass linting:
yarn lint # or npm run lint