# @bs-commerce/models

Latest version **2.2.2** (published 2022-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bs-commerce/models
pnpm add @bs-commerce/models
yarn add @bs-commerce/models
bun add @bs-commerce/models
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.2 |
| Published | 2022-09-15 |
| First published | 2022-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 193 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Brain Station 23, Md. Mostafa Al Mahmud |
| Maintainers | bs-commerce |
| Keywords | models, packages, types, nextjs, modules, typescript, interfaces |

## Links

- npm: https://www.npmjs.com/package/@bs-commerce/models
- Repository: https://github.com/BrainStation-23/bs-commerce-models
- Homepage: https://github.com/BrainStation-23/bs-commerce-models#readme
- Issues: https://github.com/BrainStation-23/bs-commerce-models/issues
- npm.io page: https://npm.io/package/@bs-commerce/models

## Dependencies (1)

- [typescript](https://npm.io/package/typescript.md) ^4.8.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.2.2 (latest) — 2022-09-15
- 2.2.1 — 2022-09-08
- 2.2.0 — 2022-09-08
- 2.1.0 — 2022-09-07
- 2.0.0 — 2022-09-07
- 1.0.0 — 2022-09-07

## README

# @bs-commerce/models


[![npm (scoped)](https://img.shields.io/npm/v/@bs-commerce/models.svg)](https://www.npmjs.com/package/@bs-commerce/models)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@bs-commerce/models.svg)](https://www.npmjs.com/package/@bs-commerce/models)

[![npm](https://nodei.co/npm/@bs-commerce/models.png)](https://www.npmjs.com/package/@bs-commerce/models)


This package is built for **`BS-Commerce E-Commerce Application`** to describing an object with properties, interfaces are also capable of describing function types. Typescript allows an interface to inherit from multiple interfaces. Use the extends keyword to implement inheritance among interfaces.


## Install

```
$ npm install @bs-commerce/models
```

## Usage

```ts
// => Import types from @bs-commerce/models in your desired ts file
import {CreateCustomerRequest} from '@bs-commerce/models'

// => Then use it for typescript verification
const customerDemo = <CreateCustomerRequest>{
    phone: "string",
    email: "string",
    otp: 1,
    name: "string",
    password: "string"
}

console.log(customerDemo)

```

## License

MIT License

---
_Source: https://npm.io/package/@bs-commerce/models · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
