# tool-fluxion12

> 这是一个格式化事件和转义HTML的插件

Latest version **1.0.0** (published 2021-06-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install tool-fluxion12
pnpm add tool-fluxion12
yarn add tool-fluxion12
bun add tool-fluxion12
```

## 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.0 |
| Published | 2021-06-05 |
| First published | 2021-06-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 1789825990@qq.com |
| Maintainers | fluxion-12-34 |
| Keywords | formatTime, escape, unescape |

## Links

- npm: https://www.npmjs.com/package/tool-fluxion12
- npm.io page: https://npm.io/package/tool-fluxion12

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-06-05

## README

## 包的使用说明文档

## 安装

```shell
  npm i tool-fluxion12
```

## 引入

```js
const tool = require('tool-fluxion12')
```

## 使用

```js
// 调用格式化日期函数
const res1 = tool.formatTime(new Date())
console.log(res1)
```

```js
// 调用转义 html 标签的方法
const res2 = tool.escapeHTML('<h2 id="-">这是标题</h2>')
console.log(res2)
```

```js
// 调用还原 html 标签的方法
const res3 = tool.unescapeHTML(
  '&lt;h2 id=&quot;-&quot;&gt;这是标题&lt;/h2&gt;'
)
console.log(res3)
```

## 许可协议

MIT

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