Skip to content

keonik/scripting-in-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Typescript script 101

Article: Setting up scripts with Typescript

What is covered

  • Setting up babel to run Javascript file
  • Setting up babel to run Typescript file
  • Fetching API response using node-fetch
  • Generating Interfaces and reducing duplication using the Omit operator
  • Writing to file using node file system