# @huz-com/primitive

> Cast primitive types

Latest version **1.0.25** (published 2021-06-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @huz-com/primitive
pnpm add @huz-com/primitive
yarn add @huz-com/primitive
bun add @huz-com/primitive
```

## 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 | 1.0.25 |
| Published | 2021-06-30 |
| First published | 2021-04-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 92.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mustafa Yelmer |
| Maintainers | e.buyuk, mustafayelmer |
| Keywords | primitive, cast, plain, array, map, is |

## Links

- npm: https://www.npmjs.com/package/@huz-com/primitive
- Repository: git@gitlab.azerdev.com:huz.byorbit/be/component/primitive
- npm.io page: https://npm.io/package/@huz-com/primitive

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.25 (latest) — 2021-06-30
- 1.0.24 — 2021-06-13
- 1.0.23 — 2021-05-04
- 1.0.22 — 2021-05-04
- 1.0.21 — 2021-05-04
- 1.0.20 — 2021-05-04
- 1.0.19 — 2021-05-04
- 1.0.18 — 2021-05-04
- 1.0.17 — 2021-05-04
- 1.0.16 — 2021-05-04
- 1.0.15 — 2021-05-04
- 1.0.14 — 2021-05-04
- 1.0.13 — 2021-05-04
- 1.0.12 — 2021-05-04
- 1.0.11 — 2021-05-04
- … 9 more at https://npm.io/package/@huz-com/primitive/versions

## README

# Huz.Com > Component > Primitive

- Cast primitive types as plain, array, map or map of
- Support FQN

## Standards
- Language: `TS`
- Eslint: `Yes`
- Static Code Analysis: `Yes` *IntelliJ Code Inspections*
- DDD - Document Driven: `Yes`
- EDD - Exception Driven: `Yes`
- TDD - Test Driven: `Yes` [go to test folder](./test/)
- Standards Complied: [Huz Standards](https://gitlab.azerdev.com/huz.byorbit/be/documentation/standards)

## Commands
- ``npm run clear`` *// clears "dist" folder*
- ``npm run lint`` *// runs eslint for static code analysis*
- ``npm run test`` *// runs test files in "test" folder*
- ``npm run build`` *// builds JS files at "dist" folder*
- ``npm publish`` *or* ``npm run publix`` *// publishes "dist" folder to npm*

## Install
``npm i @huz-com/primitive``

## todo
 - test

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