Frédéric G. MARAND f58ff29341 07: Acronym. | hai 8 meses | |
---|---|---|
.. | ||
.exercism | hai 8 meses | |
.yarn | hai 8 meses | |
.eslintignore | hai 8 meses | |
.eslintrc.cjs | hai 8 meses | |
.yarnrc.yml | hai 8 meses | |
HELP.md | hai 8 meses | |
README.md | hai 8 meses | |
acronym.test.ts | hai 8 meses | |
acronym.ts | hai 8 meses | |
babel.config.cjs | hai 8 meses | |
jest.config.cjs | hai 8 meses | |
package.json | hai 8 meses | |
tsconfig.json | hai 8 meses |
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