NodeJS Library that wraps the calls for the destination and connectivity service
using npm:
$ npm install -s sap-cf-destconn
const {readDestination} = require('sap-cf-destconn');
const destinationConfig = await readDestination("destinationName", "<JWT Token if you use Oauth2SAML or Oauth2USerToken>");
const {readConnectivity} = require('sap-cf-destconn');
const connectivityConfig = await readConnectivity("<locationID>", "<JWT Token if you use principal propagation>");