SAP Fiori environment check
npm install @sap-ux/environment-check 
@sap-ux/environment-checkEnvironment check for Business Application Studio and Visual Studio Code.
npm install --save @sap-ux/environment-checkYarnyarn add @sap-ux/environment-check
Pnpmpnpm add @sap-ux/environment-check
``javascript
import {
getEnvironment,
checkBASDestinations,
checkBASDestination,
checkEndpoints,
checkEndpoint,
} from '@sap-ux/environment-check';
/**
* Returns the environment, including ide, versions, extensions ...
*/
const environmentResults = await getEnvironment();
/**
* Checks the destinations and returns a list
*/
const destinationResults = await checkBASDestinations();
/**
* Check a BAS destination for v2 & v4 catalog service
*/
const destResult = await checkBASDestination(destination, username, password);
/**
* Checks the stored SAP Systems (or destinations on BAS) and returns a list
*/
const endpointResults = await checkEndpoints();
/**
* Check the stored SAP System (or destination on BAS) for v2 & v4 catalog service and other services
*/
const endpointResult = await checkEndpoint(destination, username, password);
`
A CLI application is also available to investigate the environment and destinations.
`
$ envcheck --help
Usage
$ envcheck --destination
Options
--destination destination or stored SAP system to perform deep check, multiple destinations can be passed
--output json | markdown | verbose | zip format for output, if not specified all messages except 'info' are shown
``Keywords
SAP Fiori Tools