Frédéric G. MARAND f58ff29341 07: Acronym. | 8 месяцев назад | |
---|---|---|
.. | ||
.exercism | 8 месяцев назад | |
.yarn | 8 месяцев назад | |
.eslintignore | 8 месяцев назад | |
.eslintrc.cjs | 8 месяцев назад | |
.yarnrc.yml | 8 месяцев назад | |
HELP.md | 8 месяцев назад | |
README.md | 8 месяцев назад | |
acronym.test.ts | 8 месяцев назад | |
acronym.ts | 8 месяцев назад | |
babel.config.cjs | 8 месяцев назад | |
jest.config.cjs | 8 месяцев назад | |
package.json | 8 месяцев назад | |
tsconfig.json | 8 месяцев назад |
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