Frédéric G. MARAND f58ff29341 07: Acronym. | há 9 meses atrás | |
---|---|---|
.. | ||
.exercism | há 9 meses atrás | |
.yarn | há 9 meses atrás | |
.eslintignore | há 9 meses atrás | |
.eslintrc.cjs | há 9 meses atrás | |
.yarnrc.yml | há 9 meses atrás | |
HELP.md | há 9 meses atrás | |
README.md | há 9 meses atrás | |
acronym.test.ts | há 9 meses atrás | |
acronym.ts | há 9 meses atrás | |
babel.config.cjs | há 9 meses atrás | |
jest.config.cjs | há 9 meses atrás | |
package.json | há 9 meses atrás | |
tsconfig.json | há 9 meses atrás |
Welcome to Acronym on Exercism's TypeScript Track.
If you need help running the tests or submitting your code, check out HELP.md
.
Convert a phrase to its acronym.
Techies love their TLA (Three Letter Acronyms)!
Help generate some jargon by writing a program that converts a long name like Portable Network Graphics to its acronym (PNG).
Punctuation is handled as follows: hyphens are word separators (like whitespace); all other punctuation can be removed from the input.
For example:
Input | Output |
---|---|
As Soon As Possible | ASAP |
Liquid-crystal display | LCD |
Thank George It's Friday! | TGIF |
Julien Vanier - https://github.com/monkbroc