@vtex/order-items

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

Usage no npm install needed!

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

README

Order Items (NPM Package)

Build Status License Library minified size Library minified + gzipped size

This package is an abstraction to decouple the Order Items logic from VTEX IO. Refer to the original repository 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-items --save

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

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-items"></script>

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

<script>
  // UMD module is exposed through the "orderItems" global variable.
  console.log(orderItems)
</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.