This code is now located in our monorepo here
Utility functions for the Reaction API.
Note: Be sure you are using NPM 5+
First install in your project directory:
npm install @reactioncommerce/api-utils
Import API util functions in the file you wish to use them in
import functionName from "@reactioncommerce/api-utils/functionName.js";
Refer to package docs for a list of available functions.
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.
- Refer to https://github.com/semantic-release/semantic-release#commit-message-format
- To avoid triggering a release, such as for a README-only change, include
[skip release]
in your commit message.