haibei-secret
v1.2.4
Published
加密传输
Downloads
21
Readme
#JWTSecret
前端参数进行加密
需要自己设置secret
和后端配合试用,生成一串字符串
Build Setup
# 安装
npm install haibei-secret;
import JWTSecret from 'haibei-secret'
params={key:value}
let param = JWTSecret.jwt(params)
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report