# node-tools-yuan

> HTMLEscape,dateFormat

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

## Install

```sh
npm install node-tools-yuan
pnpm add node-tools-yuan
yarn add node-tools-yuan
bun add node-tools-yuan
```

## 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-05-08 |
| First published | 2021-05-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kitty-yuan |
| Keywords | node-tools-yuan, dateFormat, escape |

## Links

- npm: https://www.npmjs.com/package/node-tools-yuan
- npm.io page: https://npm.io/package/node-tools-yuan

## 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-05-08

## README

## install
```
npm install node-tools
```

## import
```js
const node_tools = require('./node-tools')
```

## formatDate
```
const dtStr = node_tools.dateFormat(new Date())
console.log(dtStr)
// result 2021-05-08 12:17:57
```

## transform HTML function
const htmlStr = '<h1 title="abc">This h1 tag<span>123&nbsp;</span></h1>'
const str = node_tools.htmlEscape(htmlStr)
console.log(str)

## return HTML
const str2 = node_tools.htmlUnEscape(str)
console.log(str2)

##
ISC

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