# crm-permission

> An npm package for crm permission auto create and update

Latest version **1.0.9** (published 2024-01-10) · UNLICENSED license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install crm-permission
pnpm add crm-permission
yarn add crm-permission
bun add crm-permission
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2024-01-10 |
| First published | 2023-12-24 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 199 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | hoaian412003 |

## Links

- npm: https://www.npmjs.com/package/crm-permission
- npm.io page: https://npm.io/package/crm-permission

## Dependencies (10)

- [pg](https://npm.io/package/pg.md) ^8.11.3
- [rxjs](https://npm.io/package/rxjs.md) ^7.8.1
- [typeorm](https://npm.io/package/typeorm.md) ^0.3.17
- [@nestjs/core](https://npm.io/package/@nestjs/core.md) ^10.0.0
- [@nestjs/common](https://npm.io/package/@nestjs/common.md) ^10.0.0
- [@nestjs/config](https://npm.io/package/@nestjs/config.md) ^3.1.1
- [@nestjs/typeorm](https://npm.io/package/@nestjs/typeorm.md) ^10.0.1
- [reflect-metadata](https://npm.io/package/reflect-metadata.md) ^0.1.13
- [@nestjs/mapped-types](https://npm.io/package/@nestjs/mapped-types.md) *
- [@nestjs/platform-express](https://npm.io/package/@nestjs/platform-express.md) ^10.0.0

## Recent versions

- 1.0.9 (latest) — 2024-01-10
- 1.0.8 — 2023-12-24
- 1.0.7 — 2023-12-24
- 1.0.6 — 2023-12-24
- 1.0.5 — 2023-12-24
- 1.0.4 — 2023-12-24
- 1.0.3 — 2023-12-24
- 1.0.2 — 2023-12-24
- 1.0.1 — 2023-12-24
- 1.0.0 — 2023-12-24
- 0.0.2 — 2023-12-24
- 0.0.1 — 2023-12-24

## README

#### Crm Permission

##### And Nestjs base package for auto create permission in Nestjs

#### Install

```bash
# With npm
npm install crm-permission
# Width yarn
yarn add crm-permission
```

#### Usage

```ts
@AppController('example')
export class ExampleController {
  @ApiMetaData({
    description: 'Hello world',
    name: 'Hello',
    policy: 'example:hello',
  })
  @Get('/hello')
  async hello() {
    return 'Hello';
  }
}
```

- Note: please check the correct order of decorator

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