I’m new to working with Node and APIs in general, but trying to follow along the basic tutorial and documentation (https://developers.asana.com/docs/node-hello-world). The small bit of code/demo is made for the command line, but when using it in a browser it doesn’t work.
It seems to be the
var asana = require('asana'); line that’s causing errors. After a little research it looks like I can’t use “require” in a browser. So what should I use instead? And just curious, what exactly is “asana” in that require bracket?
Thanks for any help that can be provided.