Bootstrap New Node Project for TypeScript
In this lesson, setup a new Node.js project for following along with the rest of the course. Alternatively, you can skip the lesson and download the boilerplate code. Do note the tsx script that’s been added in package.json for running typescript files with a .env file loaded.
// tsconfig.json
{
"compilerOptions": {
"noEmit": true,
"target": "esnext",
"module": "nodenext",
"rewriteRelativeImportExtensions": true,
"erasableSyntaxOnly": true,
"verbatimModuleSyntax": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
}
Links
Getting Started with AI SDK v6
15 lessons • 1 hr6:14
3:40
2:13
5:30
3:33
1:52
8:05
NEXT CHAPTER
The AI SDK with a Vue.js Frontend13 lessons • 1 hr
