frenchizer
v1.0.2
Published
translate an English sentence into "french"
Downloads
23
Readme
frenchizer
Disclaimer
This package was realized during a bootcamp at Code Chrysalis. The aim of this package is to code a very simple (and silly) function and learn how to publish a package to NPM with some CI/CD features.
A utility function to translate english into "french"
This neat utility will enable to change your English sentence into French so that every person in Paris will understand what you mean.
Please note: This utility will however not make them listen to you, respect you or care about what you are trying to say.
For example,
toFrench('This is the castle of our master, Guy de Loimbard!')
will return
'Uh zis is ze castle of ouR masteR, Guy de LoimbaRd sacrebleu!'
or
toFrench("I don't think he will be very keen you see, because he already got one")
becomes
"Uh I don't zink he will be veRy keen you see, because he alReady got one sacrebleu"
To use this function
Please download this package with
npm install frenchizer
Then use it in your functions as follows:
const {toFrench} = require('frenchizer');
...
const thingIShouldSayInParis = toFrench('Hello! Who is it?");
This author will not be liable for any taunt due to the French characters.
To contribute
If you want to add new ways or suggestions to translate English into "french", please create a PR into the following GitHub repo: https://github.com/AlixFachin/frenchizer