@harvest-profit/api

Adds authentication to api requests and manages cookie.

Usage no npm install needed!

<script type="module">
  import harvestProfitApi from 'https://cdn.skypack.dev/@harvest-profit/api';
</script>

README

CircleCI codecov

Installation

You can install this via NPM:

npm install @harvest-profit/api

Or Yarn:

yarn add @harvest-profit/api

Usage

import Api from 'harvest-profit-api';

Development

While developing, you may find it useful to preview your components. You can do so by running the development server with:

yarn start

To deploy a new version to NPM, bump the version number, commit/merge to master, and run the following:

yarn run clean
yarn run build

# Either NPM
npm publish
# Or Yarn, they do the same thing
yarn publish

License

This project is MIT licensed