platzom-language

Translate any language to platzom

Usage no npm install needed!

<script type="module">
  import platzomLanguage from 'https://cdn.skypack.dev/platzom-language';
</script>

README

Platzom

Platzom is a fake language to the Platzi Javascript course

Description of the language

  • if it ends with AR the AR is removed
  • if it starts with Z, PE is added at the end
  • if you have more than ten characters you put one - in the middle
  • if it is a palindrome, no rule is applied and capitals are interspersed

Instalation

npm i platzom-language

How to use

import platzom from 'platzom-language'

platzom('Programar') // Program
platzom('Zorro') // Zorrope
platzom('Abecedario') // abece-dario
platzom('Sometemos') // SoMeTeMoS

Credits

License

MIT