# @hepengcheng/node-tool

> 基于node和typescript的工具包.

Latest version **1.0.0** (published 2022-03-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install @hepengcheng/node-tool
pnpm add @hepengcheng/node-tool
yarn add @hepengcheng/node-tool
bun add @hepengcheng/node-tool
```

## 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 | 2022-03-11 |
| First published | 2022-03-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 何鹏程 |
| Maintainers | hepengcheng |
| Keywords | node, node-tool, tool, util, util-tool, ts, typescript, js, javascript, es, es6, v8 |

## Links

- npm: https://www.npmjs.com/package/@hepengcheng/node-tool
- Repository: https://github.com/AnccHugo/utility
- Homepage: https://github.com/AnccHugo/utility#readme
- Issues: https://github.com/AnccHugo/utility/issues
- npm.io page: https://npm.io/package/@hepengcheng/node-tool

## Dependencies (1)

- [pre-commit](https://npm.io/package/pre-commit.md) ^1.2.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-03-11

## README

# 说明
- typscript 版本的工具包


# 安装
``` shell
  npm install node-tool
```

# 模块
- 日期模块
``` javascript
  // 引入默认工具类
  const Tool = require('../src/').default;

  // 实例化工具类 
  const tool = new Tool();

  // 通过工具包上的日期对象，获取当前时间
  console.log(tool.date.GetDateTime);
```

- 日志模块
``` javascript
  // 引入日期工具类
  const Date = require('../src').XHDate;
  
  // 实例化日期工具类
  const date = new Date();
  
  // 通过日期对象获取当前时间
  console.log(tool.date.GetDateTime);
```

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