Wondering what’s next for npm?Check out our public roadmap! »

    @sap-cloud-sdk/core
    TypeScript icon, indicating that this package has built-in type declarations

    1.44.0 • Public • Published

    SAP Cloud SDK for JavaScript Logo

    @sap-cloud-sdk/core

    This package contains the core functionality of the SAP Cloud SDK as well as the Cloud Platform abstractions.

    Installation

    $ npm install @sap-cloud-sdk/core
    

    Usage

    The core is the heart of the SAP Cloud SDK and contains the functionality that is essential to every project powered by the SDK. Any OData client built by the SAP Cloud SDK, be it the VDM or clients built by the generator are using the core. We recommend to install this in addition to your clients.

    Below is an example showing how you can build and execute your request with multiple filters by using an function called and.

    import { and } from '@sap-cloud-sdk/core';
    import { BusinessPartner } from '@sap/cloud-sdk-vdm-business-partner-service';
    
    // Build your filters
    const firstNameFilter = BusinessPartner.FIRST_NAME.equals('firstName');
    const lastNameFilter = BusinessPartner.LAST_NAME.equals('lastName');
    
    // Execute your request with two filters
    BusinessPartner.requestBuilder()
     .getAll()
     .filter(and(firstNameFilter, lastNameFilter))
     .execute(yourDestination);
    

    For more detailed overview visit our OData client documentation.

    Support

    The recommended way to get in touch with us is to create an issue in our github repository. Select the issue category Bug, Feature or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.

    We also monitor questions on StackOverflow and ansers.sap.com but prefer issues on github.

    Contribute

    If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.

    Links



    License

    The SAP Cloud SDK is released under the Apache License Version 2.0.

    Install

    npm i @sap-cloud-sdk/core

    DownloadsWeekly Downloads

    69,594

    Version

    1.44.0

    License

    Apache-2.0

    Unpacked Size

    1.5 MB

    Total Files

    896

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar