# iking-utils

> 金合前端工具库

Latest version **1.2.15** (published 2024-05-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install iking-utils
pnpm add iking-utils
yarn add iking-utils
bun add iking-utils
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.15 |
| Published | 2024-05-10 |
| First published | 2022-08-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 12 |
| Unpacked size | 139.1 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | 金合研究院 |
| Maintainers | wfeilong |
| Keywords | iking, utils, 工具库, 金合前端 |

## Links

- npm: https://www.npmjs.com/package/iking-utils
- Homepage: http://1.85.2.105:3002/iking-web-doc/
- npm.io page: https://npm.io/package/iking-utils

## Dependencies (12)

- [mitt](https://npm.io/package/mitt.md) ^3.0.0
- [xlsx](https://npm.io/package/xlsx.md) ^0.18.5
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.4
- [cookiejs](https://npm.io/package/cookiejs.md) ^2.1.2
- [crypto-js](https://npm.io/package/crypto-js.md) ^4.1.1
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.21
- [decimal.js](https://npm.io/package/decimal.js.md) ^10.4.0
- [timeago.js](https://npm.io/package/timeago.js.md) ^4.0.2
- [localforage](https://npm.io/package/localforage.md) ^1.10.0
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^4.5.3
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.23.2
- [resize-observer-polyfill](https://npm.io/package/resize-observer-polyfill.md) ^1.5.1

## Recent versions

- 1.2.15 (latest) — 2024-05-10
- 1.2.14 — 2024-04-11
- 1.2.13 — 2024-04-11
- 1.2.12 — 2024-04-11
- 1.2.11 — 2024-04-08
- 1.2.10 — 2024-04-08
- 1.2.9 — 2024-04-08
- 1.2.8 — 2024-04-08
- 1.2.7 — 2024-04-02
- 1.2.6 — 2024-04-02
- 1.2.5 — 2024-03-29
- 1.2.4 — 2024-03-29
- 1.2.3 — 2024-03-28
- 1.2.2 — 2024-03-15
- 1.2.1 — 2024-03-06
- … 45 more at https://npm.io/package/iking-utils/versions

## README

<!--
 * @Author: wfl
 * @LastEditors: wfl
 * @description: 
 * @updateInfo: 
 * @Date: 2022-07-26 12:14:10
 * @LastEditTime: 2022-08-03 13:52:07
-->
# 金合前端 - 常用方法

`TS`

- `npm i iking-utils`
- 或`pnpm add iking-utils`
- 或`yarn add iking-utils`

1. 密码强度校验 `import { passwordValid } from 'iking-utils'`
2. 密码加密传输 `import { passwordEncry } from 'iking-utils'`
3. 类型判断`import { is } from 'iking-utils'`

```typescript
is: {
    isDef: (val: any) => boolean
    isUnDef: (val: any) => boolean
    isObject: (val: any) => boolean
    isEmpty: (val: any) => boolean
    isDate: (val: any) => boolean
    isNull: (val: any) => boolean
    isNullAndUnDef: (val: any) => boolean
    isNullOrUnDef: (val: any) => boolean
    isNumber: (val: any) => boolean
    isPromise: (val: any) => boolean
    isString: (val: any) => boolean
    isFunction: (val: any) => boolean
    isBoolean: (val: any) => boolean
    isRegExp: (val: any) => boolean
    isArray: (val: any) => boolean
    isWindow: (val: any) => boolean
    isElement: (val: any) => boolean
    isMap: (val: any) => boolean
    isServer: (val: any) => boolean
    isClient: (val: any) => boolean
    isUrl: (val: any) => boolean
  }
```
# 此处文档后续更新，目前全部放置在开发者平台(预计2022-12-01日全部更新并发布)
## 金合研究院

[金合开发者平台](http://1.85.2.105:3002/iking-developer-platform/)

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