Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 694 Bytes

File metadata and controls

21 lines (15 loc) · 694 Bytes

Libraries

GitHub Mark Logo Edit on GitHub

npm install --save @cocart/cocart-rest-api

// import CoCartAPI from "@cocart/cocart-rest-api"; // Supports ESM
const CoCartAPI = require("@cocart/cocart-rest-api").default;
 
const CoCart = new CoCartAPI({
  url: "https://example.com",
  version: "cocart/v2"
});
Use the tabs in the top-right corner of this page to see how to install and use each library.