Implementation Examples
Below you will find three different examples and templates that show you how to use Node.js®. You can find the examples/templates in the version directory javascript/examples/ and /javascript/templates. These scripts are simple examples of how to implement smaller scripts.
You can find more examples in the Node.js® API documentation here.
Single Script vs. Module/Package
For very simple applications, you an also execute a single script without creating a module or a package. For almost all applications, however, it is necessary to create a TS/JS package as demonstrated within the provided examples.