NodeJS
This page describes how to use the NodeJS package.
Set up your NodeJS environment
This small guide assumes you're already familiar with NodeJS environment.
The first step is to install the oakwood package via npm.
Afterwards, we need to create our resource script we plan to start in node
:
You can look up the example code to see how to use the package.
Things to note
All public API calls are asynchronous due to the nature of the communication. However, you can await
the response of the call if you expect a return value.
Check out this primer on how to work with such environment: Medium: Javascript Async/Await and Promises
Last updated