0.1.0 • Published 6 years ago

platzom-language v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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