# hinos-common

> Utility class

Latest version **2.0.7** (published 2017-11-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install hinos-common
pnpm add hinos-common
yarn add hinos-common
bun add hinos-common
```

## 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.7 |
| Published | 2017-11-17 |
| First published | 2017-05-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | doanthuanthanh88@gmail.com |
| Maintainers | doanthuanthanh88 |

## Links

- npm: https://www.npmjs.com/package/hinos-common
- npm.io page: https://npm.io/package/hinos-common

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Recent versions

- 2.0.7 (latest) — 2017-11-17
- 2.0.6 — 2017-11-17
- 2.0.5 — 2017-11-17
- 2.0.4 — 2017-11-17
- 2.0.3 — 2017-11-16
- 2.0.2 — 2017-11-16
- 2.0.1 — 2017-11-16
- 2.0.0 — 2017-11-16
- 1.0.8 — 2017-09-13
- 1.0.7 — 2017-08-07
- 1.0.5 — 2017-07-19
- 1.0.4 — 2017-06-01
- 1.0.3 — 2017-05-26
- 1.0.2 — 2017-05-24
- 1.0.1 — 2017-05-23
- … 1 more at https://npm.io/package/hinos-common/versions

## README

# hinos-common
Class helpers for [hinos](https://github.com/doanthuanthanh88/hinos)

# Install
```nodejs
npm i hinos-common -S
```

# Examples

### Encrypt
Class helper help encrypt data
* md5(content:string): return md5 content
* base64(content:string, isDecode:boolean): return base64 en(de)code base on isDecode. Default is encode base64
* decryptText(blowfish: any, content: string): return data which is decrypted by blowfish Algorithm
* encryptText(blowfish: any, data: any): return data which is encrypted by blowfish Algorithm

### Http
Make http request easiler

### QueueHandler
Customize handler for some connection (mongo...)

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