# platzom-v2

> Traductor de idioma platzom

Latest version **0.1.0** (published 2017-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install platzom-v2
pnpm add platzom-v2
yarn add platzom-v2
bun add platzom-v2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-12-11 |
| First published | 2017-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Arenas |
| Maintainers | danielarenas23 |
| Keywords | platzom, fundamentos, js |

## Links

- npm: https://www.npmjs.com/package/platzom-v2
- Repository: https://github.com/DanielArenas23/platzom-v2
- Homepage: https://github.com/DanielArenas23/platzom-v2#readme
- Issues: https://github.com/DanielArenas23/platzom-v2/issues
- npm.io page: https://npm.io/package/platzom-v2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-12-11

## README

## Platzom

Platzom es un idioma inventaso para el curso de javascript en [platzi](https://platzi.com)

## Descripcion del idioma

 note:
 When we execute methods over str they are not modifies so that is why we create the variable translation above


 - SCRIPT FLOW

 First if statement:
 if the word ends with "ar", cut out the last two characters

 Second if statement:
 if the word begins with "z", we add "pe" at the end

 Second if statement:
 if the word begins with "z", we add "pe" at the end

 Third if statement:
 if the word translated has 10 letters or more, separate it in the middle by a "-"

 Fourth if statement:
 if the original string is a palindrome, then none of the other rules apply and we return
 the same word but width everyother letter being capitalized

## Instalacion

```
npm install platzom

```

##

```
import platzom from `platzom`

console.log(platzom("programar")); // program
console.log(platzom("Zorro")); // zorrope
console.log(platzom("Zarpar")); // zerppe
console.log(platzom("abecedario")); // zerppe
console.log(platzom("sometemos")); // SoMeTeMoS

```

## Creditos
Daniel Arenas

## license
 MIT

---
_Source: https://npm.io/package/platzom-v2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
