# @jianghe/sand-viewport

> sand视口设置库

Latest version **1.2.6-3** (published 2020-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jianghe/sand-viewport
pnpm add @jianghe/sand-viewport
yarn add @jianghe/sand-viewport
bun add @jianghe/sand-viewport
```

## 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.2.6-3 |
| Published | 2020-08-15 |
| First published | 2020-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | jianghe |
| Keywords | sand, viewport, sand-viewport |

## Links

- npm: https://www.npmjs.com/package/@jianghe/sand-viewport
- Repository: https://github.com/372623460jh/sand-libs
- Homepage: https://github.com/372623460jh/sand-libs#readme
- Issues: https://github.com/372623460jh/sand-libs/issues
- npm.io page: https://npm.io/package/@jianghe/sand-viewport

## Recent versions

- 1.2.6-3 (latest) — 2020-08-15
- 1.2.6-2 — 2020-08-15
- 1.2.6-1 — 2020-08-07
- 1.2.6-0 — 2020-08-07
- 1.2.5 — 2020-08-02
- 1.2.4-0 — 2020-08-02

## README

# sand 基础工具库

## 指令

- npm run init: 删除 node_modules,和 lib 的构建产物，并重新安装，构建
- npm run clean: 删除 node_modules,和 lib 的构建产物
- npm run build: 构建
- npm run build:watch: 构建(监听)
- npm run build:production: 构建(生产环境)
- npm run start: 启动 lib 调试服务
- npm run publish: 推包到 npm
- npm run ci: lint&&test

## 库

### sand-mystery（加解密工具包）

加解密工具

#### 加密 demo.

```shell
node ./bin/sand-mystery.js encrypt /Users/jianghe/Desktop/jianghe_ws/mergeFile/examples/input/image/3.png /Users/jianghe/Desktop/jianghe_ws/mergeFile/examples/input/file/project /Users/jianghe/Desktop/jianghe_ws/mergeFile/examples/output/encrypt/ss.png 1472583690zx -n jianghe
```

#### 解密 demo

```shell
node ./bin/sand-mystery.js decrypt /Users/jianghe/Desktop/jianghe_ws/mergeFile/examples/output/encrypt/ss.png /Users/jianghe/Desktop/jianghe_ws/mergeFile/examples/output/decrypt 1472583690zx 16110 -n jianghe
```

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