# encrypt-util

> A encrypt utils for web project

Latest version **2.0.0** (published 2021-11-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install encrypt-util
pnpm add encrypt-util
yarn add encrypt-util
bun add encrypt-util
```

## 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.0 |
| Published | 2021-11-24 |
| First published | 2021-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.5 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | duanyalin |
| Maintainers | duanyalin |

## Links

- npm: https://www.npmjs.com/package/encrypt-util
- npm.io page: https://npm.io/package/encrypt-util

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.5.11
- [babel-loader](https://npm.io/package/babel-loader.md) ^7.1.1
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.24.1

## Recent versions

- 2.0.0 (latest) — 2021-11-24
- 1.0.0 — 2021-11-23

## README

# encrypt-util

> 前端加密组件，npm包源码

## 本地启动测试

``` bash
# 1：安装依赖
npm install

# 2：启动服务，地址： localhost:8080
npm run dev

# 3：页面加载完毕，可以进行加解密测试
```



## 打包上传

``` bash
# 1：安装依赖
npm install

# 2：确保wasm文件能下载
在文件：/src/lib/index.js文件中，确保浏览器直接打开文件地址WASM_URL能获取到文件
WASM_URL地址：即是/public/encode_tiny.wasm文件在文件服务器上面的地址
测试环境已部署：http://10.0.12.226:6868/encode_tiny.wasm


# 3：本地构建
npm run build

# 4：切换本地npm地址
npm config set proxy  http://39.108.117.70:4873/[私服地址]

# 5：登录，之后按照提示输入用户名密码
npm login  http://39.108.117.70:4873/[私服地址]

# 6：删除npm旧包(不同版本发布不用删除)
npm unpublish --force encrypt-util[包名] --registry  http://39.108.117.70:4873/[私服地址]

# 7：发布npm包
npm publish http://39.108.117.70:4873/[私服地址]

# 8：其他项目安装npm加密包；先切换npm私服地址
npm install encrypt-util
```

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