# cofe-ct-ecommerce

> Basic BE extensions for Commercetools Frontend

Latest version **2.0.3** (published 2023-12-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install cofe-ct-ecommerce
pnpm add cofe-ct-ecommerce
yarn add cofe-ct-ecommerce
bun add cofe-ct-ecommerce
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-12-11 |
| First published | 2023-02-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 195.3 KB |
| Known vulnerabilities | 0 (+22 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Commercetools |
| Maintainers | behnam777 |

## Links

- npm: https://www.npmjs.com/package/cofe-ct-ecommerce
- Repository: https://github.com/commercetools/cofe-ct-ecommerce
- Homepage: https://github.com/commercetools/cofe-ct-ecommerce#readme
- Issues: https://github.com/commercetools/cofe-ct-ecommerce/issues
- npm.io page: https://npm.io/package/cofe-ct-ecommerce

## Dependencies (9)

- [jest](https://npm.io/package/jest.md) ^29.4.3
- [axios](https://npm.io/package/axios.md) ^1.3.3
- [nodemailer](https://npm.io/package/nodemailer.md) ^6.9.1
- [@types/node](https://npm.io/package/@types/node.md) ^18.13.0
- [@sendgrid/mail](https://npm.io/package/@sendgrid/mail.md) ^7.7.0
- [performance-now](https://npm.io/package/performance-now.md) ^2.1.0
- [@commercetools/platform-sdk](https://npm.io/package/@commercetools/platform-sdk.md) ^4.10.1
- [@frontastic/extension-types](https://npm.io/package/@frontastic/extension-types.md) ^0.0.12
- [@commercetools/frontend-domain-types](https://npm.io/package/@commercetools/frontend-domain-types.md) ^1.0.7

## Recent versions

- 2.0.3 (latest) — 2023-12-11
- 2.0.2 — 2023-12-11
- 2.0.1 — 2023-11-22
- 2.0.0 — 2023-08-03
- 1.1.0 — 2023-07-06
- 1.0.11 — 2023-03-15
- 1.0.10 — 2023-03-08
- 1.0.9 — 2023-03-03
- 1.0.8 — 2023-03-03
- 1.0.7 — 2023-03-01
- 1.0.6 — 2023-02-28
- 1.0.5 — 2023-02-22
- 1.0.4 — 2023-02-22

## README

# Commercetools Frontend Extensions

## NOTE:
This is **NOT** an official B2C extension code and **NOT** production ready. Use it at your own risk

## Install
```
yarn add cofe-ct-ecommerce
```

## Usage
Change the `index.ts` file of your controller to look like
```ts
import * as AccountActions from 'cofe-ct-ecommerce/actionControllers/AccountController'
// import rest of the controllers
...

export const actions = {
    account: AccountActions,
    ...
}

```

It's possible to import apis and utility classes and use them too
```ts
import { ProductApi } from 'cofe-ct-ecommerce/apis/ProductApi';
...

const productApi = new ProductApi(context, locale);
```

---
_Source: https://npm.io/package/cofe-ct-ecommerce · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
