@vtex/order-manager

[![Build Status](https://travis-ci.org/vtex/order-manager.svg?branch=master)](https://travis-ci.org/vtex/order-manager) [![License](https://badgen.net/github/license/vtex/order-manager)](./LICENSE) [![Library minified size](https://badgen.net/bundlephobia

Usage no npm install needed!

<script type="module">
  import vtexOrderManager from 'https://cdn.skypack.dev/@vtex/order-manager';
</script>

README

Order Manager (NPM Package)

Build Status License Library minified size Library minified + gzipped size

This package is an abstraction to decouple the Order Manager logic from VTEX IO. Refer to the repository root's README for more information.

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install @vtex/order-manager --save

# For Yarn, use the command below.
yarn add @vtex/order-manager

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/@vtex/order-manager"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/@vtex/order-manager"></script>

<script>
  // UMD module is exposed through the "orderManager" global variable.
  console.log(orderManager)
</script>

Releasing

Use releasy to create new tag to be released. After the tag is created, run npm publish

Documentation

Documentation generated from source files by Typedoc.

License

Released under MIT License.