Pragmatic AI Labs

Create a TypeScript 7 app

Développez des compétences très recherchées grâce à un abonnement d'un an à Coursera Plus, désormais à 239 $. Profitez-en dès maintenant.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Pragmatic AI Labs

Create a TypeScript 7 app

Alfredo Deza

Instructeur : Alfredo Deza

Inclus avec Coursera PlusEn savoir plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Débutant

Expérience recommandée

2 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Débutant

Expérience recommandée

2 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • 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

Compétences que vous acquerrez

  • Catégorie : Software Testing
  • Catégorie : Development Testing
  • Catégorie : JSON
  • Catégorie : Integration Testing
  • Catégorie : Data Validation
  • Catégorie : Data Persistence
  • Catégorie : Package and Software Management
  • Catégorie : Continuous Integration
  • Catégorie : Functional Specification
  • Catégorie : Unit Testing
  • Catégorie : Command-Line Interface
  • Catégorie : Release Management
  • Catégorie : File I/O
  • Catégorie : Code Coverage
  • Catégorie : Software Versioning

Outils que vous découvrirez

  • Catégorie : Build Tools
  • Catégorie : Node.JS
  • Catégorie : TypeScript

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

novembre 2026

Évaluations

5 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Élaborez votre expertise du sujet

Ce cours fait partie de la Spécialisation "TypeScript 7 for Beginners"
Lorsque vous vous inscrivez à ce cours, vous êtes également inscrit(e) à cette Spécialisation.
  • Apprenez de nouveaux concepts auprès d'experts du secteur
  • Acquérez une compréhension de base d'un sujet ou d'un outil
  • Développez des compétences professionnelles avec des projets pratiques
  • Obtenez un certificat professionnel partageable

Il y a 4 modules dans ce cours

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.

Inclus

11 vidéos9 lectures1 devoir

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.

Inclus

10 vidéos6 lectures1 devoir

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.

Inclus

10 vidéos6 lectures1 devoir

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.

Inclus

11 vidéos6 lectures2 devoirs

Obtenez un certificat professionnel

Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.

Instructeur

Alfredo Deza
Pragmatic AI Labs
44 Cours6 236 apprenants

Offert par

Pragmatic AI Labs

En savoir plus sur Software Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.

Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’

Jennifer J.

Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’

Larry W.

Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’

Chaitanya A.

’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’

Qu’est-ce qui vous amène sur Coursera aujourd’hui ?

Foire Aux Questions