I've been diving into NativeScript and I'm eager to incorporate the Guid generator package from this repository into my app. However, I'm a bit lost on how to actually go about it. When examining the directory structure created by the command-line tool, I noticed the following key components:
node_modules
app
tns_modules
package.json
package.json
Should I add node-uuid
to the ./package.json or the ./app/package.json? And once added, how do I reference it in my app? Specifically, if I want to utilize uuid in the app.js file, what steps should I take? The package setup of NativeScript has me a little perplexed, especially regarding how things are loaded during runtime.
Appreciate any guidance!