@commerce-apps/core
TypeScript icon, indicating that this package has built-in type declarations

1.6.1 • Public • Published

core

The Core package provides a variety of functions that make interacting with Salesforce Commerce APIs easy. The following are some of the Core package functions:

  • Authentication - An easy way to authenticate with the APIs that require Account Manager authentication.
  • HTTP operations - TypeScript functions for all the HTTP operations.
  • Caching - Ability to specify whether or not the results of HTTP requests should be cached.

commerce-sdk uses core to communicate with Salesforce Commerce APIs.

Setup

To install dependencies and build core:

# To setup
npm install

# To build
npm run build

## Testing

To run tests:
```bash
npm run test

To print the detailed test results and the errors on the console:

npm run test:debug

License Information

This package is licensed under BSD-3-Clause license. See the license for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @commerce-apps/core

Weekly Downloads

6,713

Version

1.6.1

License

BSD-3-Clause

Unpacked Size

74.4 kB

Total Files

34

Last publish

Collaborators

  • joel.uong.sfcc
  • monkey-jeff
  • bredmond