Pragmatic AI Labs

Create a TypeScript 7 app

Pragmatic AI Labs

Create a TypeScript 7 app

Alfredo Deza

Instructor: Alfredo Deza

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Build a command-line tool with arguments, standard streams and exit codes

  • Validate, change and save data, and test the tool from the inside and the outside

  • Build, pack, install and rehearse publishing a TypeScript package with npm

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

November 2026

Assessments

5 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the TypeScript 7 for Beginners Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 4 modules in this course

You see the four ways a command-line tool talks to its caller, and the todo CLI you will build: three commands, one file and a brief of nine rules, checked by a program. You install the starter repository at its pinned versions and parse arguments with Node's parseArgs, options in values and the rest in positionals. You give an option a default so its type is always there, and print a usage message for --help. Then you add, complete and list todos, send errors to standard error, and return 0, 1 or 2.

What's included

11 videos9 readings1 assignment

You follow data on its round trip: load, check, change, save and print. You read the sample todo file, validate it with a Zod schema so a broken file is refused with each field named, and treat a missing file as no todos yet. You write todos back as indented JSON, add one after the highest id, and mark one done without touching the others. Then you print one line per todo for people, JSON for other programs, and one friendly line on standard error for an unknown id.

What's included

10 videos6 readings1 assignment

You see why one program gets several kinds of checks, each catching what the others miss. You write unit tests with Node's test runner, spawn the real CLI from a test to check its output and exit codes, and measure coverage. You add type tests with Vitest, catch a missing await with Oxlint's type-aware rule that the compiler lets through, and check formatting with Prettier. Then you put all five checks behind npm run check, break the code on purpose to see where it stops, and fix it.

What's included

10 videos6 readings1 assignment

You follow source code on its way to an installed command. You build it with tsdown into plain JavaScript and type declarations, make it runnable with a shebang and a bin entry, and see that only dist, package.json and the README go into the package. You pack a tarball, install it in a clean folder with only Zod alongside, and run todo there. Then you rehearse a publish that uploads nothing, see how versions and a changelog travel with a release, and where to take the tool next.

What's included

11 videos6 readings2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Alfredo Deza
Pragmatic AI Labs
44 Courses6,236 learners

Offered by

Explore more from Software Development

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

What brings you to Coursera today?

Frequently asked questions