A simple example that opens or creates a wallet, starts syncing, then saves and closes.
npm install or yarn install
npm install
yarn install
node index.js