2.1.4 • Published 1 year ago

ne-eppc v2.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

ne-eppc

This is a JavaScript package for fetching products from Elastic Path Commerce Cloud using the Moltin JS SDK.

Installation

To install this package, run:

pnpm install ne-eppc

Usage

To use this package, you will need to provide your Elastic Path client ID and host in a .env file at the root of your project. The .env file should contain the following variables:

EPCC_CLIENT_ID= EPCC_HOST=

Then, you can import the fetchProducts function from the ne-eppc package and use it to fetch products from Elastic Path:

import { fetchProducts } from "ne-eppc";

async function getProducts() {
  const products = await fetchProducts();
  console.log(products);
}

License

This project is licensed under the MIT license.

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago