# api-utils

[![npm (scoped)](https://img.shields.io/npm/v/@reactioncommerce/api-utils.svg)](https://www.npmjs.com/package/@reactioncommerce/api-utils)
[![CircleCI](https://circleci.com/gh/reactioncommerce/api-utils.svg?style=svg)](https://circleci.com/gh/reactioncommerce/api-utils)

Utility functions for the Reaction API.

## How To Use

Note: _Be sure you are using NPM 5+_

First install in your project directory:

```bash
npm install @reactioncommerce/api-utils
```

Import API util functions in the file you wish to use them in

```js
import functionName from "@reactioncommerce/api-utils/functionName.js";
```

Refer to [package docs](https://github.com/reactioncommerce/api-utils/tree/trunk/docs) for a list of available functions.

## Releases

This NPM package is published automatically on every push to the `trunk` branch. Be sure to use proper Git commit messages so that the version will be bumped properly and release notes can be automatically generated.
